realbasic-nug
[Top] [All Lists]

Re: Popup Change Event

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Popup Change Event
From: Norman Palardy <palardyn at shaw dot ca>
Date: Tue, 31 Aug 2004 15:55:34 -0600
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <5B521F26-FB8D-11D8-B27E-000A9586B6C0 at spamcop dot net> <B4006892-FB8E-11D8-B27E-000A9586B6C0 at spamcop dot net> <BC28A0B8-FB92-11D8-B299-000A95A9544A at shaw dot ca> <2FA37ECE-FB95-11D8-88B0-003065F2C108 at shaw dot ca>

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>

<Prev in Thread] Current Thread [Next in Thread>