Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programatically resizing the edit box based on the Strin
Message
From
01/12/2006 05:50:32
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173919
Message ID:
01174027
Views:
11
>>>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.

"exact silence" ?????
- 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