gettingstarted
[Top] [All Lists]

Re: Can you show the state of a variable in a window?

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Can you show the state of a variable in a window?
From: Stephen Adams <stephen at adamsemail dot net>
Date: Fri, 30 Jul 2004 13:20:48 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <924DCECB-E1C6-11D8-86EA-003065502CFC at optusnet dot com dot au>
On Jul 29, 2004, at 20:19, Greg Olson-Hyde wrote:

G'day,

I would like to have the state of a variable dynamically update in a window reflecting changes made to it via radio buttons, so there is immediate user feedback.

Is this possible?

RB 5.5.2, Mac OS X 10.3.4

If you're up for it, I think binding is the way to go. Basically, you create a short method that implements the bindinginterface, add some code to this method to do what you want, and away you go.

We've implemented bindings that update fields based on selections in popup menus, radio buttons, etc. As well as text fields that change based on selections from menus or data entered into a EditField.

There are examples of creating bindings in the user guide on pages 396-399.

 -Stephen



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