Feb 17, 2004 #1 mannah07 IS-IT--Management Joined Dec 23, 2003 Messages 18 Location DE Want to disable control buttons(minimize, maximize and close)from my runtime application in VFP6. Any support please?
Want to disable control buttons(minimize, maximize and close)from my runtime application in VFP6. Any support please?
Feb 17, 2004 1 #2 torturedmind Programmer Joined Jan 31, 2002 Messages 1,052 Location PH 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 philippines "and that's what we call creativity..." Upvote 0 Downvote
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 philippines "and that's what we call creativity..."
Feb 17, 2004 Thread starter #3 mannah07 IS-IT--Management Joined Dec 23, 2003 Messages 18 Location DE Whenever I run my exec, it still has the control buttons-min, max, close Upvote 0 Downvote
Feb 17, 2004 #4 torturedmind Programmer Joined Jan 31, 2002 Messages 1,052 Location PH 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 philippines "and that's what we call creativity..." Upvote 0 Downvote
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 philippines "and that's what we call creativity..."
Feb 17, 2004 Thread starter #5 mannah07 IS-IT--Management Joined Dec 23, 2003 Messages 18 Location DE thank you torturemind. You been of great help. Upvote 0 Downvote
Feb 17, 2004 #6 torturedmind Programmer Joined Jan 31, 2002 Messages 1,052 Location PH your welcome. it's been my pleasure to help. kilroy philippines "and that's what we call creativity..." Upvote 0 Downvote
your welcome. it's been my pleasure to help. kilroy philippines "and that's what we call creativity..."