FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can one tell if a string is displaying outside the label?

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
jicman



Joined: 22 Dec 2004
Posts: 298
Location: Rochester, NY

PostPosted: Tue Mar 06, 2007 9:57 pm    Post subject: Can one tell if a string is displaying outside the label? Reply with quote

Hi. Great job on 9.5 and 8.1. Very nice, as always.

Anyway, imagine this: I have a label that displays a file path, say c:\temp. However, that file path sometimes is really long. What I would like to do is to be able to show as much of the beginning of the path and as much of the end as possible. However, I would like to use a non-fixed character font. Is there a way to tell how far a string coverage is based on a font and a string length? In other words. Can I know if a string is displaying outside the label maximum coverage?

thanks,

jose
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Wed Mar 07, 2007 9:33 pm    Post subject: Reply with quote

I just put this page up: http://wiki.dprogramming.com/Dfl/PathLabelExample
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group