Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Margin is overwritten using dynamic created objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00870390
Message ID:
00870436
Vues:
9
Hi Andreas.

It looks like a bug to me
PUBLIC oForm AS Form
oForm = CREATEOBJECT("Form")
oForm.AddObject("cbo1", "cbomy")
oForm.Show()
WAIT WINDOW oForm.cbo1.Margin   && Displays 2 instaed of 1
RETURN

DEFINE CLASS cbomy AS combobox
	Height = 24
	Margin = 1
	Width = 100
	Name = "cbomy"
ENDDEFINE
>Hi,
>
>I have a combobox class with margin property set to 1
>or 0. Using this class at design time works fine.
>Adding e.g. a container class which includes this
>class at runtime overwrites the margin property
>with default 2. It had worked fine with VFP7.
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform