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.
_________________________________________________________________
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>
|