Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Message form
Message
From
18/10/2000 13:49:46
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/10/2000 13:37:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00431020
Message ID:
00431028
Views:
19
>Hello,
>
>I need to create a form that shows some text similar of the Messagebox on a label.
>
>I want to resize the label and also the form automatically according to the length of the text. The text can have multiple lines (having CHR(13) in the text string), and the width can be different too.
>
>How can I resize the label automatically according to the text string and how can I resize the form automatically according to the dimensions of the label?
>
>Any help is highly appreciated!!

Christian,
Easy way is to use a readonly editbox instead of label. You could set label's autosize and wordwrap properties to .t. and get its height, width to size form.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform