realbasic-nug
[Top] [All Lists]

Re: Enabling the OK Button on the Fly

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Enabling the OK Button on the Fly
From: Andrew Keller <andrew at kellerfarm dot com>
Date: Sun, 3 Oct 2004 18:47:20 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <p06110400bd8624ed231b at [131 dot 158 dot 15 dot 85]> <BCB80006-158A-11D9-A0AA-000393C6C4C4 at hit dot net>
What I would do in this case is make a method called "UpdateButtons" that sets properties of various controls based on what the user has changed, and in the change event of controls that change things, I execute the method. When there are a lot of controls to check, I cache sections so that when the user changes one little character in a textfield it doesn't check everything all over again.

Andrew

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