Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox Problem
Message
From
06/12/2004 06:46:32
 
 
To
06/12/2004 06:29:51
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00967077
Message ID:
00967099
Views:
23
I agree that his solution is not the preferred one, but since he wrote that he had his reasons, I gave him the solution he wanted. But will it suit his needs? Probably not. :-)

>I think what Tariq meant was to support a text with word wrapping. AFAIK textbox doesn't support wrapping.
>PS: Maybe I was wrong and what he wants is simply to increase width.
>Cetin
>
>>Yes, that will do, I guess.
>>>Hi Tore,
>>>
>>>>In the keypress, put someting like this:
>>>>do case
>>>>  case len(trim(this.value))>50
>>>>     this.height=48
>>>>  case len(trim(this.value))>25
>>>>     this.height=32
>>>>  otherwise
>>>>     this.height=16
>>>>endcase
>>>

>>>In this case, I thint that sample below is very interesting:
>>>
>>>this.height = ((Int(len(trim(this.value))) / 26) + 1) * 16
>>>
>>>What do you think?
Previous
Reply
Map
View

Click here to load this message in the networking platform