Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize container
Message
De
15/04/2008 02:26:43
 
 
À
14/04/2008 20:46:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01310584
Message ID:
01310631
Vues:
9
>This should (I hope) be fairly simple, but I can't quite see the answer.
>
>I have a container class. It has an image and a label inside it.
>
>The label is set to Autosize = .T.
>
>When the width of the label is changed (a new caption is assigned) I would like the container to resize itself to be the width of the image + the width of the label.
>
>What event, method, etc gets the code to do this?
>
>Thanks again to all..........Rich

Label has not a resize event.

Then
....
label.Caption = NewCaption
container.Width = label.Width
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform