Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from grid
Message
From
24/08/2005 10:53:42
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01043177
Message ID:
01043368
Views:
8
[SNIP]
>Also, here is the latest request from my manager (I replied, it's not possible, but may be?):
>
>=============================
>What about if the field to too large for the size of the box, then let it expand to max of the largest description? Is that doable?
>
>------------------------------------------------------------------------
>From: Nosonovsky, Nadya
>Sent: Wednesday, August 24, 2005 10:27 AM
>To: *************************************
>Subject: RE: Update libs
>
>
>I’ll see what I can do about it. It seems like not an easy problem to implement and Tracey doesn’t like that implementation at all for combos where width is too small to show the full text when expanded. Perhaps I should make these combos aligned only if their width is greater than certain number. Otherwise let the combos handle the drop-down portion themselves.

Nadia

How about using FontMetric() to get the char width, multiply it by the number of chars in the text, and then dynamically resizing the box's width? Just a thought and doesn't sound too hard

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform