Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stretch textbox.value to 2 lines in a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901036
Message ID:
00901406
Views:
14
Not really. VFP grids do not have variable row heights, so you'd either need to leave enough room for the editbox to have the maximum number of lines you'd like to see, or have it at least high enough to have the scrollbars so you could see the additional lines by scrolling.


>Thank you for the reply.
>
>This works but there is a problem: the user has to stretch the row in order to see it all.
>Is it possible to have it stretched automaticaly line by line : what I mean is that if there is only a bit of text, that row will be 1 line high and on the next row, if that field has a lot of text it will stretch to the required nummber of lines to show all the text?
>
>Thanks and welcome back
>
>Raymond
>
>>>I have a field that has 70 characters long.
>>>When it is a textfield part of a grid I can only show part of the content.
>>>Is there a way to have it automatically stretch to more than one line in order to show it all?
>>>(I don't want to use a memo field.)
>>>
>>>Thanks
>>>Raymond
>>
>>Do you have an objection to an Edit object as opposed to a TextBox? You can hook an Edit object to a character field and edit objects will wrap text...
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform