Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container resize
Message
 
To
22/08/2001 09:05:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00547174
Message ID:
00547609
Views:
17
You could do this simply from the form resize method. I call a repositioncotrols method with something like this.
 THISFORM.LOCKSCREEN = .T.
**	move Container 5 pels up and 5 pels from right
**	make container width 5 pixels from right
**  Keep grids widths 2 pixels from the parimeter of the comntainer
WITH THISFORM.cntMain
	.TOP = 66
	.LEFT = 5 
	.WIDTH = THISFORM.WIDTH - 10
	.HEIGHT = THISFORM.HEIGHT - 65
	ThisForm.Pmc_cmdexit1.left = THISFORM.WIDTH - 30
	THISFORM.sizegrids(THISFORM.gridcount)	
ENDWITH
THISFORM.LOCKSCREEN = .F.
Notice there is also a size grid method to resize the grids within the container.
Thanks...
Dan Rowe
Eagle Technology
Previous
Reply
Map
View

Click here to load this message in the networking platform