Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IntegralHeight != AutoSize for an edit box?
Message
From
12/04/2002 15:54:03
 
 
To
12/04/2002 14:34:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00644408
Message ID:
00644510
Views:
27
>>Hi all,
>>
>>* Pet Peeve ON
>>Why is it that autosize is only available for a label...
>>* Pet Peeve OFF
>>
>>Am I misreading help in thinking that IntergalHeight should be autosizing the edit box to show all the contents? Anyone have a quick solution for this? I'd like to do away with the scrollbars but couldn't find anything in downloads...
>
>
>
IntegralHeight is only for controlling the display of the last line in the editbox: Only full size letters, or allow them to be cut off by the bottom of the edit box. As for the scrollbars, I think you're stuck with them, otherwise you can't display variable length (memo) fields. If you know the length, why won't a textbox work?




Hi Chris,

I guess that's the point. If editboxes and textboxes had the autosize property it wouldn't be a problem (Wishlist time). Plus, IntegralHeight only works on textboxes for one line of text. Basically, I'm creating a custom container that has four controls (one of which is an editbox) that replaces the default textbox in a grid. The info going into the editbox is dynamically assembled, not just coming out of a memo field. I'd really like to be able to have the editbox expand enough to show all of the text and then I can resize the grid and it's rows based on that...

I have it working pretty well using the default of three lines and the scrollbars, but someone made the comment, 'can't you do that without having to scroll...'




- Brian


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform