Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing AddObjects() controls
Message
De
25/02/1999 23:59:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00191249
Message ID:
00191786
Vues:
22
>Dan,
>The form (with the resize code) was VMP, as were the original textboxes I worked with. I tried the addobject() with plain VFP which didn't resize at all and with VMP which not only didn't resize but moved to top=0 and left=0 and width = original class size, as I said earlier.
>

Barbara- I tested with what I could put together that you are doing:
Blank form, one button with click code:

SET CLASSLIB TO c:\myclasses.vcx
THISFORM.Addobject('mytext1','mytext')
THISFORM.MyText1.Left = 50
THISFORM.MyText1.Top = 50
THISFORM.MyText1.Visible = .T.

Running the form, clicking the button, and resizing the form does not cause the behavior you describe...

Can you break your process down incrementally until you find the sinister factor?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform