Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I Resize a PageFrame with tabs VFP 7.0
Message
From
05/01/2003 21:01:26
 
 
To
22/12/2002 12:54:16
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00734770
Message ID:
00738257
Views:
21
Here is my code... works fine in either VFP7 or VFP6 on the forms RESIZE event. Note: Height is last. Try swapping the width with the height. You will notice that when you resize that the size of the pageframe is messed up.

P.S. I use ASSIGN and ACCESS with Lockscreen to automatically refresh the form once LockScreen is reset to False.


LOCAL llLockScreen

llLockScreen = THISFORM.LockScreen

DODEFAULT()

WITH THISFORM.pgfMain
.TabStretch = 0
.TOP = THISFORM.ctxtName.Top + THISFORM.ctxtName.Height + 5
.LEFT = 2
.WIDTH = THISFORM.WIDTH - (.LEFT * 2)
.HEIGHT = THISFORM.HEIGHT - .TOP - .LEFT
ENDWITH
THISFORM.LockScreen = llLockScreen
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform