05-05-2009 10:23 PM - edited 05-06-2009 06:58 AM
The problem I am having is that I need an ellipsis at the start of the text.
I have a method that creates a LabelField, it displays a path to a file. The file needs to have the end of the file visible.
This is why I need the ellipsis at the start so that the user can see the end of the path. I looked around and came across DrawTextParam. One of it's fields is exactly what I need (TRUNCATE_WITH_ELLIPSIS_AT_START) but I can not find any method/style that accepts it.
Is there any way I can use this on a field? Perferably LabelField but if something else accepts it then I can change my code.
Solved! Go to Solution.
05-06-2009 11:04 AM
05-06-2009 11:14 AM
Try using DrawStyle.TRUNCATE_BEGINNING may be this will solve your problem.
05-06-2009 11:34 AM
Unfortunately that is not working. Even if it did I would really like to have an ellipsis at the beginning so the user knows there is more to the path.
05-06-2009 12:40 PM
Scratch what I just said. I didn't read the documentation about it. If you use the ELLIPSIS field with TRUNCATE_BEGINNING it will truncate the text and add the ellipsis to the front of the text. Thanks Rajat_10Sep.