Anish Abslom
12/13/2005 6:35:00 AM
Hi,
In case of combobox modified event It would be triggered twice firstly on
modifying the control and secondly on closing of the form which has that
control. This is due to following series of events
On modification following events are triggered
1. ComboBox:DataSource1_ENUMTYPE\Methods >> SelectionChange
2. Classes\FormComboBoxControl\SelectionChange
3. ComboBox:DataSource1_ENUMTYPE\Methods >> modified
On Closing of the form following events are triggered
1. Classes\FormRun\canClose
2. Classes\FormRun\selectControl
3. Classes\FormComboBoxControl\leave
4. ComboBox:DataSource1_ENUMTYPE\Methods >> modified
So on the both cases modified event is being triggered
To make printing happen only once, i.e. on the modification of the combo box
it would be appropriate to restrict your print code in the selectionchange
method
(ComboBox:DataSource1_ENUMTYPE\Methods >> SelectionChange)
Hope this will solve the issue â?¦.