Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Text truncation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text truncation



On 7/31/03 8:20 AM, Frank Vyncke didst favor us with:

> Hi,
>
> I have a static text control where the content is longer than the available
> space on screen.
> Therefore, I would like to give the user feedback that the text was
> truncated at the end/middle.
>
> I tried to use the kControlStaticTextTruncTag control property, but that
> seems not to have any effect on the result on screen.
> Does this property on controls actually work, or is it better to use some
> explicit truncation stuff like TruncateThemeText ?

It *should* truncate the text and insert an ellipsis. As I recall, there's a
bug in some versions of the OS in which this doesn't happen, but I can't
remember which version(s). What version of the OS are you using?

Larry
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Text truncation (From: Frank Vyncke <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.