Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable and hide buttons 1

Status
Not open for further replies.

lumstar

Technical User
Jan 29, 2002
177
CA
I hve a menu made up of 14 diffrent buttons. I want to make it so that if less than 14 buttons are needed, some of them can be disabled and hidden. The "buttonname.enabled=false;" command does not seem to be working. How can this be done? Any ideas?

Thanks in advance Lumstar
______________________________________
And The Star Continues To Shine....
 
button1.enabled = false; // disables the button
button1._visible = false; // makes it invisible

Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top