Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp won't accept expression for column width in combo bo
Message
 
 
To
02/08/2002 14:19:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00685591
Message ID:
00685730
Views:
19
>Hi Sergey,
>
>Thanks. I just realized that after I posted, because, I guess, vfp is just evaluating it as one string.
>
>But now I realize that I need to get the width based on the txtwidth or fontmetric function, and the current font. But I am trying to figure out the right expression?
>
>str(fontmetric(6)*len(errsrt.csortname))
>
>seems to work right?
>

It should work but I would use TRANSFORM() instead of STR().
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform