function to calculate string length...

Chipp Walters chipp at chipp.com
Mon Jan 3 17:23:17 EST 2005


Wouter,

Thanks. Got it. Different strategy, but nice:-)

Wouter wrote:

> Chipp, sorry for the delayed response due to festivities.
> My other handler is using the difference in number of lines of a field 
> and the number of lines of the formattedtext of the same field if the 
> text is "wrapped". And it is useless if the words in the list field are 
> very long and the width of the field is very small (as it uses the word 
> wrap done by the engine).
> Hugh also pointed out that the character used for the ellipsis is 
> differently mapped in windows and mac.
> Mac uses the numtochar(201) while windows uses numtochar(133) (according 
> to Hugh).
> So back to the use of the normal 3 points and optimizing your original 
> handler.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004



More information about the metacard mailing list