Brent,
This "position in the list" issue is a function of the new UI for
parameters. You know I'm a geezer when I call the parameter UI "new".the
old UI was part of the cascading menus that were replaced over 10 years ago.
That said, we overcome this issue by having our mapkey reset the parameter
UI to "old", then change the parameter, then reset the UI to "new". Is this
a bit kludgy or in-elegant? Yes, but it works.
!mapkey for turning OFF the new parameter UI (called in other mapkeys)
mapkey puioff @MAPKEY_NAMETurn off the new Parameter UI;\
mapkey(continued) @MAPKEY_LABELPARAMUI_OFF;~ Select `main_dlg_cur`
`MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_util_pref`;\
mapkey(continued) ~ FocusOut `preferences` `InputOpt`;~ Open `preferences`
`DisplayOpt`;\
mapkey(continued) ~ Close `preferences` `DisplayOpt`;~ Select `preferences`
`DisplayOpt`1 `5`;\
mapkey(continued) ~ Input `preferences` `InputOpt` `new_parameter_ui`;\
mapkey(continued) ~ Update `preferences` `InputOpt` `new_parameter_ui`;\
mapkey(continued) ~ FocusOut `preferences` `InputOpt`;~ Open `preferences`
`EditPanel`;\
mapkey(continued) ~ Close `preferences` `EditPanel`;~ Select `preferences`
`EditPanel`1 `no`;\
mapkey(continued) ~ Activate `preferences` `AddOpt`;~ FocusOut `preferences`
`InputOpt`;\
mapkey(continued) ~ Activate `preferences` `ok`;
!mapkey for turning ON the new parameter UI (called in other mapkeys)
mapkey puion @MAPKEY_NAMETurn on the new parameter UI;\
mapkey(continued) @MAPKEY_LABELPARAMUI_ON;~ Select `main_dlg_cur`
`MenuBar1`1 `Utilities`;\
mapkey(continued) ~ Close `main_dlg_cur` `MenuBar1`;\
mapkey(continued) ~ Activate `main_dlg_cur` `Utilities.psh_util_pref`;\
mapkey(continued) ~ FocusOut `preferences` `InputOpt`;~ Open `preferences`
`DisplayOpt`;\
mapkey(continued) ~ Close `preferences` `DisplayOpt`;~ Select `preferences`
`DisplayOpt`1 `5`;\
mapkey(continued) ~ Input `preferences` `InputOpt` `new_parameter_ui`;\
mapkey(continued) ~ Update `preferences` `InputOpt` `new_parameter_ui`;\
mapkey(continued) ~ FocusOut `preferences` `InputOpt`;~ Open `preferences`
`EditPanel`;\
mapkey(continued) ~ Close `preferences` `EditPanel`;\
mapkey(continued) ~ Select `preferences` `EditPanel`1 `yes *`;\
mapkey(continued) ~ Activate `preferences` `AddOpt`;~ FocusOut `preferences`
`InputOpt`;\
mapkey(continued) ~ Activate `preferences` `ok`;
Hope this helps,
Gavin B. Rumble, PE
Solid Engineering
336-224-2312