TheSwamp
Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: Guest on March 12, 2008, 03:18:30 PM
-
Is it possible to sync two or more combo boxes. My goal is to modify the contents of one combo box and then have that information synched up with other combo boxes. Each of the entries in the Drawing Name column are set as the combo box style.
-
With regular dcl you could, but you would have to code it yourself within the action_tile.
-
With regular dcl you could, but you would have to code it yourself within the action_tile.
Not going back.... Heck, I don't think I can even WRITE DCL anymore - it's been so long!
-
yes.
do you want both combos using the same data .. or .. the data in one combo to be decided by the selection value in another ?
Have a look at
(dcl_ComboBox_AddString Form_ComboBox
NewString [as String])
and
(dcl_ComboBox_DeleteString Form_ComboBox
nIndex [as Integer])
and
(dcl_ComboBox_AddList Form_ComboBox
StringList [as List of Strings])
and
(dcl_ComboBox_Clear Form_ComboBox)
-
I want the combo boxes in the last column to use the same data as the combo box next to "Default Project Files".
-
You could have a list names say DwgNamesList
then
(dcl_ComboBox_AddList Form_ComboBox_Default DwgNamesList)
(dcl_ComboBox_AddList Form_ComboBox_Data1 DwgNamesList)
etc