2013-09-11 18:57 UTC
I can't get dcl_ListBox_SelectString to work using version 7.0.0.14. I've got the control in multi-select mode and I can confirm that I have the correct text being feed into the function using "(alert scale1)" as shown in my code below. Nothing is ever selected.
(cond
(#lsLastScales
;select all the scales in the list...'("48" "24" "96")
;I'm not at all sure if this is a valid way to select multiple
;items in a listbox since I can't get the function to work!
(foreach scale1 #lsLastScales
(alert scale1)
(dcl_ListBox_SelectString LSscale scale1)
)
)
((> (atoi SFdflt) 0)
;select just the default scale..i.e. "48"
;This doesn't work either....
(alert scale1)
(dcl_ListBox_SelectString LSscale SFdflt)
)
(t
;just select the first item on the list
(dcl_ListBox_SelectItem LSscale 0 t)
)
)
....bug or user error?
James
(cond
(#lsLastScales
;select all the scales in the list...'("48" "24" "96")
;I'm not at all sure if this is a valid way to select multiple
;items in a listbox since I can't get the function to work!
(foreach scale1 #lsLastScales
(alert scale1)
(dcl_ListBox_SelectString LSscale scale1)
)
)
((> (atoi SFdflt) 0)
;select just the default scale..i.e. "48"
;This doesn't work either....
(alert scale1)
(dcl_ListBox_SelectString LSscale SFdflt)
)
(t
;just select the first item on the list
(dcl_ListBox_SelectItem LSscale 0 t)
)
)
....bug or user error?
James