Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing container in design mode
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00697930
Message ID:
00699117
Vues:
26
Hi Alex,

>
wboForm.Move( wboForm.Left, wboForm.Top, wbaControl[1].Width, wbaControl[1].Height)
that worked! Thanks a lot. It wasn't really a problem, but it's good to have a solution before it becomes a problem :)

Thanks,
Armin

BTW: Here's the whole code to test the behaviour with your solution integrated:
*---------------------------------------------------------
*-- Show effect that a green frame stays in the class
*-- designer after resizing the container class from
*-- code.
*--
*-- Armin Neudert, armin.neudert@ansta.de
*-- 09/09/02
*---------------------------------------------------------

LOCAL loSelObj
LOCAL ARRAY laSelObj[1]

CD (SYS(2023))
CREATE CLASS cntTest OF xtest.vcx AS Container NOWAIT

ASELOBJ(laSelObj, 1)
loSelObj = laSelObj[1]

WITH loSelObj
	.Height = 20
	.Width  = 20
ENDWITH

loSelObj.Parent.Move( loSelObj.Parent.Left, loSelObj.Parent.Top, loSelObj.Width, loSelObj.Height)

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform