Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Container resize
Message
 
À
22/08/2001 09:05:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00547174
Message ID:
00547609
Vues:
12
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform