Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG a Top/Left/Height/Width get fire property_Assign
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00911720
Message ID:
00911909
Vues:
13
>this is a old bug,
>but with the new Anchor property this bug is very destructive.

I'm not sure why you say this behavior is more destructive for Anchors. The following code shows Width.Assign being called only once, as expected.
PUBLIC oform1

oform1=NEWOBJECT("form1")
oform1.Show
DOEVENTS
oForm1.Width = oForm1.Width + 10

DEFINE CLASS form1 AS form
	Caption    = "bug: a access to Width fire a Assign !"
	allowOutput = .f.
	
	ADD OBJECT txt1 as textbox WITH anchor=15
	
	PROCEDURE txt1.Width_assign
		LPARAMETERS vNewVar
		? "Assigning Text1 Width."
		This.Width = vNewVar
	ENDPROC
ENDDEFINE
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform