Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing AddObjects() controls
Message
De
01/03/1999 11:47:52
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00191249
Message ID:
00192702
Vues:
22
What is the code that is handling the resize?

>I have a form with from 1 to n textboxes added with AddObject(). Each item is placed on the form 'on the fly', with the top, left, width, color etc. properties handled at load time.
>
>Everything works perfectly until I resize the form, at which point the objects all revert to left = 0, top = 0 and width = their base class width.
>
>I can certainly place a for-next loop to handle this in the form resize, but why does this happen? Identical controls placed on the form with the form-designer resize correctly.
>
>TIA
>Barbara
Eric Shaneson
Cutting Edge Consulting
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform