General information
Category:
Forms & Form designer
TXTWIDTH( ) function should help here. See VFP Help for more details
>I'm trying to determine how many characters will fit in a textbox.
>
>Example: A text box will contain a directory path. I would like to be able to calculate, based on how wide the box is and what font is in use, how many characters that box will display. That way I can display the first 10 characters of the path, some periods and the last however many characters that will fit in the box. ex: D:\The Path\....\Some More Path.
>
>Hope that meakes sense.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only