Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatically resizing the edit box based on the Strin
Message
De
30/11/2006 18:49:26
 
 
À
30/11/2006 18:35:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01173919
Message ID:
01173940
Vues:
9
>>Hi All,
>>
>>I have a Edit box and two command controls below this edit box. I need to increase the size of the edit box dynamically based on the String passed as a paramter and need to resize the form, push the control below the Editbox. this edit box is with No Scroll.
>>
>>
>>Any help is highly appreciated.
>>
>>Thanks in advance
>>
>>-Venkatram
>
>Hope this helps:
>http://www.fox4um.com/viewtopic.php?pid=539#p539
>Cetin

Not even close. After recently wrestling with exactly this problem, your solution doesn't take into account font.bold (which does effect some font's width) nor does it account for MEMLINES() not being an exact silence with proportional fonts. Also the .Margin property has some bearing on the number of lines.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform