Bug in parm sep_itemlist of cmd popupmenu
Posted: 16 Jan 2013 14:23
In popupmenu both sep_itemlist and sep_item are documented "can have more than one char"
For sep_item this seems OK. (Tested with ' : ')
But for sep_itemlist it seems that only the first character is used. Tested with '^|^' and ' | '
Original part of script:
The result for '^|^' is bad, (each | is treated as a caption),
the result for ' | ' is very bad (each ' ' in list is treated as an itemlist-divider!!!)
If '|' is used everything works correct.
For sep_item this seems OK. (Tested with ' : ')
But for sep_itemlist it seems that only the first character is used. Tested with '^|^' and ' | '
Original part of script:
Code: Select all
$items = "End 'Debug' : End"
. "^|^Repeat Display : Rep"
. "^|^Reset Display : Res"
. "^|^-"
. "^|^Call Demo : Demo";
$next = PopupMenu($items, 300, 150, , , , '^|^', ' : ', 'Cancel');the result for ' | ' is very bad (each ' ' in list is treated as an itemlist-divider!!!)
If '|' is used everything works correct.