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: Seth Willits <seth at freaksw dot com>
Date: Thu, 29 Jul 2004 18:43:18 -0700
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 6:19 PM, Greg Olson-Hyde wrote:

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?

Well how do you want to show it? You have FULL control over what is displayed in a window and what happens, so it's definitely possible. It just depends on what kind of variable it is and how you want to display it. You could set the Text value of a StaticText field to the variable itself (if a string variable or by using str() if it's an integer or double), or you could set it to "True" or "False" depending on the value of a boolean...



Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic

Friendship is a beautiful thing. "The best and most beautiful things in the world cannot be seen or even touched - they must be felt with the heart."
    -- Hellen Keller
------------------------------------------------------------------------ ---

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