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 the control buttons 1

Status
Not open for further replies.

mannah07

IS-IT--Management
Dec 23, 2003
18
DE
Want to disable control buttons(minimize, maximize and close)from my runtime application in VFP6. Any support please?
 
am not sure what you really want. but if you need to disable controls, use the ENABLED property. for example:

Code:
with thisform
     with .grpbuttons
          .command1.enabled = .f.
          .command2.enabled = .f.
          .command3.enabled = .f.
          [i][and so on...][/i]
     endwith

     .mycombo1.enabled = .f.
     .mylabel1.enabled = .f.
endwith

sure hope you get the picture.

kilroy [trooper]
philippines
"and that's what we call creativity..."
 
Whenever I run my exec, it still has the control buttons-min, max, close
 
now i know what you mean. try using _SCREEN.CONTROLBOX = .F. and see what happens. haven't tried it but it's worth a shot.


kilroy [trooper]
philippines
"and that's what we call creativity..."
 
thank you torturemind. You been of great help.
 
your welcome. it's been my pleasure to help.

kilroy [trooper]
philippines
"and that's what we call creativity..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top