aharrisreid
Programmer
I am having a problem with form objects (especially a particular combobox) that repeatedly 'flash' when a form is being instantiated for the first time. Upon setting a breakpoint on the first line of the combo.refresh method I find it runs 4 times before the form 'settles'!
At the 1st break the call stack is...
Myform.Combo.refresh, BaseClassForm.refresh, MyForm.refresh
At the 2nd break the call stack is...
MyForm.Combo.refresh, MyForm.refresh
At the 3rd break the call stack is...
MyForm.combo.refresh
MyForm.refresh contains the code...
DODEFAULT() && calls baseclassform.refresh
other form-specific code
BaseClassForm.refresh contains the code...
DODEFAULT()
other generic form refresh code
MyForm.combo.refresh contains the code
DODEFAULT() && calls generic combo refresh code
other instance-specific refresh code
It appears as though the combo is refreshing at every level of a refresh call. How can I avoid this, yet still still make sure the generic default code runs at form and object level.
Any help would be appreciated.
Alan Harris-Reid