I thought (perhaps I was dreaming) 4D has a native command to return the
text width in pixels.

$Width:=ANice4DCommand ($Text;$FontName;$FontSize;$FontStyle)

Is there such "ANice4DCommand"?

Why?
Because,
I am trying to create iOS type notification icons for the toolbar. If there
are less than 10 notifications is fine but if there are more I want to
expand the rounded rectangle.



-- 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to