Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A big grid (like the old browse)
Message
 
To
27/02/2001 11:58:48
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00480119
Message ID:
00480464
Views:
12
Add a Button to the form and in the Click event, place the following Code:

WITH THISFORM.MyGrid && I assume this is the name of your grid
lnWidth = .Width
lnHeight = .Height

lnFormH = THISFORM.Height
lnFormW = THISFORM.Width
Thisform.windowState = 2 && This maximises the form

.Width = THISFORM.Width*lnWidth/lnFormW
.Height = THISFORM.Height*lnHeight/lnFormH
ENDWITH
Previous
Reply
Map
View

Click here to load this message in the networking platform