Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from grid
Message
De
24/08/2005 10:53:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01043177
Message ID:
01043368
Vues:
7
[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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform