Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Re: pushbutton ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 3278 of 3326
Post > Topic >>

Re: pushbutton enabled

by Joe Strout <joe@[EMAIL PROTECTED] > Oct 28, 2007 at 08:21 PM

In article <dontmewithme-1B3CA2.23530228102007@[EMAIL PROTECTED]
>,
 Larry <dontmewithme@[EMAIL PROTECTED]
> wrote:

>    I'd like a certain push button to be enabled only when an edit field 
> gets filled with some text!

Whenever the edit field's text changes, the TextChange event fires.  So 
in that event, simply do:

  someButton.enabled = (me.Text <> "")

Cheers,
- Joe

-- 
"Polywell" fusion -- an approach to nuclear fusion that might actually
work.
Learn more and discuss via: 
<http://www.strout.net/info/science/polywell/>
 




 2 Posts in Topic:
pushbutton enabled
Larry <dontmewithme@[E  2007-10-28 23:53:03 
Re: pushbutton enabled
Joe Strout <joe@[EMAIL  2007-10-28 20:21:53 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 1:24:00 CDT 2008.