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: Greg Olson-Hyde <isomfield at optusnet dot com dot au>
Date: Fri, 30 Jul 2004 11:58:35 +1000
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <924DCECB-E1C6-11D8-86EA-003065502CFC at optusnet dot com dot au> <D4C0B02E-E1C9-11D8-BB42-000A95A5E76E at freaksw dot com>
Hi again Seth,

Thanks once more for your help  :-)

The biggest problem I am facing is how to find the information. I have been looking for hours (obviously in the wrong places) then, you point me in the direction of "str()" and my problem is solved.

Thanks!

RB 5.5.2, Mac OS X 10.3.4
Cheers

Greg
Sydney Australia
On 30 Jul 2004, at 11:43am, Seth Willits wrote:

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>


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