1. Text sizes

Is there any easy way to find out whether a section of plain text (with tabs and
\n's ) will fit inside a certain area?

For example, if I could create an offscreen MlEdit and stick the text in it,
could I then check to see if the scrollbars appear?

=======================
Patrick Barnes
Information Systems Group
201 Elizabeth St, Sydney
Patrick.Barnes at transgrid.com.au
Ext: 91-3583
Ph:(02) 9284-3583
Mob: 0410 751 044


***********************************************************************




***********************************************************************

new topic     » topic index » view message » categorize

2. Re: Text sizes

try getTextWidth ()

----- Original Message -----
From: <Patrick.Barnes at transgrid.com.au>
To: "EUforum" <EUforum at topica.com>
Subject: Text sizes


>
> Is there any easy way to find out whether a section of plain text (with
tabs and \n's ) will fit inside a certain area?
>
> For example, if I could create an offscreen MlEdit and stick the text in
it, could I then check to see if the scrollbars appear?
>
> =======================
> Patrick Barnes
> Information Systems Group
> 201 Elizabeth St, Sydney
> Patrick.Barnes at transgrid.com.au
> Ext: 91-3583
> Ph:(02) 9284-3583
> Mob: 0410 751 044
>
>
> ***********************************************************************
>
>
> ***********************************************************************
>
>
>
> TOPICA - Start your own email discussion group. FREE!
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu