Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize container
Message
 
 
To
14/04/2008 20:46:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01310584
Message ID:
01310669
Views:
7
This message has been marked as a message which has helped to the initial question of the thread.
>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?
>

I would probably go with caption_assign method.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform