OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: Matt W on March 12, 2008, 01:05:04 PM

Title: Sync Two (or more) Comboboxes
Post by: Matt W on March 12, 2008, 01:05:04 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.
Title: Re: Sync Two (or more) Comboboxes
Post by: Fred Tomke on March 12, 2008, 02:37:58 PM
Hi,

you have to do this in the OnSelChanged event: whenever an item was selected the items of other lists have to be updated or other items need to be selected.
I often have two comboboxes, just like one with table names and one with column names. Once a table has been selected the other combo box has to be cleared and filled with the columns of the newly selected table. This must be done manually by your code.

Fred