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

Disable Menu Form Controls

Status
Not open for further replies.

ChrisN

Programmer
Jul 9, 2001
59
GB
Hi,

I have a form which acts as a main menu for my application.

However, I want to disable certain controls on this menu based upon some values that I have stored in an array (integers). Basically, if I encounter a zero in the array, I want to disable a specific button based upon the position of that zero within the array.

I hope that someone can provide some assistance with this.

TIA
Chris
 

if Myarray(13)=0 then MyButton.enabled = false

???
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top