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: Terry Ford <tmford at shaw dot ca>
Date: Tue, 31 Aug 2004 14:31:57 -0700
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>

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.

Terry Ford

_______________________________________________
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>