hi all!
as i mentioned in my subject,how can i get the width of a string?
when i use a datagrid control and the text in a cell is too long to be 
fully displayed,the text should be cut off,and then add a "..." at the 
end of the substring.further more,while the width of the column is 
changing,the substring adjusts its length to the cell.
so,i think the key is to get the width of the string...it there any 
solution?
i found a method named "calculateWidths" in flex reference,but it seems 
to be a internal method.how can i use it?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to