"selectstring" in comboboxes and lists

Started by Peter2, October 21, 2016, 04:00:25 AM

Previous topic - Next topic

Peter2

I'm not sure if the function "selectstring" in comboboxes and lists works as expected. There are two questions:

a) Selecting entries in different comboboxes and lists
Sometimes the selection is displayed "as selected" (blue), sometimes not.
Some selections deselect selections in other controls, some does not deselct ...

b) The using of the commands
Code (autolisp) Select
    (dcl-ComboBox-SelectString combo_select/main/style0 "Style 0 - b")
    (dcl-ComboBox-SelectString combo_select/main/style2 "Style 2 - b")
    (dcl-ListBox-SelectString combo_select/main/Listenfeld1 "List - b")

has different results, depending (maybe on question a and) on which command  is activated or not.

Please take a look at the screencast here:
http://autode.sk/2eskrTq
and at the attached example.

Peter
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10