Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine height required by data in an edit box
Message
From
06/03/2003 15:43:33
 
 
To
06/03/2003 15:32:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00762425
Message ID:
00762434
Views:
14
What is the control that you use to display the Memo field? If you use Label control, try to set the AutoSize to .T., in this way, you can determine the starting position of second control by composing the Top and Height of the first control.

hth.




>I have a situation where I want to display the contents of two memo fields on a form. The length of the data in these can vary dramatically. I want to display the first one, and then determine where the data ends so that I can change the height of the first control and the top of the second control to shrink up any dead space on the screen. I need to place a option group just at the bottom of the first memo fields so that the user can click a yes/no answer before starting the second memo field. So I can not do something as simple as combine the memo fields into one object.
>
>Is there some way to determine how much verticle space is required for the object?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform