gettingstarted
[Top] [All Lists]

RE: Coding Button

To: gettingstarted at lists dot realsoftware dot com
Subject: RE: Coding Button
From: "Lennox Jacob" <lenpartico at hotmail dot com>
Date: Sun, 30 Jan 2005 22:19:24 +0000
Delivered-to: gettingstarted at lists dot realsoftware dot com
that was a mistake, this is what I meant,
I have two EditFields named Ht and Wt, I also have two Pushbutton named BMIPushButton and BSAPushbutton which are disabled and not defaulted at startup. I want the BMIPushbutton to be enabled and defaulted only when data is input into both Ht and Wt editFields, I did this



From: "Lennox Jacob" <lenpartico at hotmail dot com>
Reply-To: Getting Started <gettingstarted at lists dot realsoftware dot com>
To: gettingstarted at lists dot realsoftware dot com
Subject: Coding Button
Date: Sun, 30 Jan 2005 22:12:00 +0000

I have two EditFields named Ht and Wt, I also have a Pushbutton named BMIPushButton, which is disabled and not defaulted at startup. I want the Pushbutton to be enabled and defaulted only when data is input into both Ht and Wt editFields, I did this

if (Ht.string and me.string) <> 0 then
(BMIPushButton.enabled, BMIPushButton.default, BSAPushButton.enabled and BSAPushButton.default) = true else (BMIPushButton.enabled, BMIPushButton.default, BSAPushButton.enabled and BSAPushButton.default) = false

I also tried it with EditFieldHt instead of Ht.string.

Please help.
Thanks.
Lennox.


if (Ht.string and me.string) <> 0 then
(BMIPushButton.enabled, BMIPushButton.default, BSAPushButton.enabled and BSAPushButton.default) = true else (BMIPushButton.enabled, BMIPushButton.default, BSAPushButton.enabled and BSAPushButton.default) = false

I also tried it with EditFieldHt instead of Ht.string.

Please help.
Thanks.
Lennox.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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