On Aug 31, 2004, at 3:31 PM, Terry Ford wrote:
On 31-Aug-04, at 2:14 PM, Norman Palardy wrote:
On Aug 31, 2004, at 2:45 PM, Barrie Jones wrote:
Cancel this. I found a problem in my code. Change event does not
fire when using addrow.
True ... but some controls do fire a change or action when you do
control.listindex = control.listindex
PopupMenus do this
despite no change in the listindex they fire the change event if you
do this in code (but they wont fire change if you select the same
item in the UI)
Setting the value of a RadioButton to true on startup will also fire
its Action event. I regard these as "Gotchas" if one isn't aware of
them.
yes ... one of the reasons I tend to subclass the darn things and
ignore this sort of "change" that isn't a change
at least that way the code and UI change to the already selected item
behave the same
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|