Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit box in grid/calendar
Message
From
16/04/2007 05:27:38
 
 
To
15/04/2007 10:57:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01216034
Message ID:
01216133
Views:
14
>>1. How can I remove the 'memo' caption from all the grid edit boxes?
>
>If you have memo displayed, you either did not add an editbox to the column or did not set the currentcontrol to the editbox.

The Sparse property must also be manipulated. It must not be the default.

>>2. How can size the current active cell according the text lenght?
>unfortuantely you can only set one rowheight for all rows. The user can use the grid line at the bottom of the first row and resize it, as you can resize column width at the right gridline of a columns header.

It's a pity that calculating an optimal size, using the actual length of the (largest) text, is a tedious programming job. There is no easy function that tells us the number of lines that a text consumes in an editbox.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform