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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Container with command buttons 1

Status
Not open for further replies.

Bryan - Gendev

Programmer
Jan 9, 2011
408
AU
My app works like a wizard stepping through the pages of a pageframe on a main form.

The main form has a vertical row of command buttons down the RHS which I have put on a container.


After say Step2 I disable this container as not all commands are available.

At the moment I change the con.backstyle to 1 and put a 'wash' over the whole button area.This is temporary.

Can I make each button on the container disabled from one line of code rather than have to disable them individually?

Thanks

GenDev
 
container.setall("enabled",.f.,"commandbutton") will disable all buttons, container.setall("enabled",.f.) will disable all objects, not only command buttons.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top