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

How Do You Disable The Min & Max Buttons In A Procedural Window 2

Status
Not open for further replies.

drosenkranz

Programmer
Sep 13, 2000
360
US
Hey There,

i'm workin on some old procedural code with menu pads and defined windows. How Do You Disable The Min & Max Buttons In A Procedural Window?

Thanks :)
The 2nd mouse gets the cheese.
 
Use NOMINIMIZE and NOZOOM in the DEFINE WINDOW statement.

Jim
 
Hi drosenkranz,

DEFINE WINDOW Mine FROM 1,1 TO 10,50 ZOOM MINI TITLE 'Mine'
MODIFY WINDOW Mine NOZOOM NOMINIMIZE

or use the NAME clause of the DEFINE WINDOW command to create an object reference to the window so that it can be manipulated as a form:

DEFI WIND Mine FROM 1,1 TO 10,50 ZOOM MINI TITLE 'Mine' NAME oMine
oMine.MinButton=.F.
oMine.MaxButton=.F. Jon Hawkins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top