property for text overflow?

View: New views
4 Messages — Rating Filter:   Alert me  

property for text overflow?

by Tiemo Hollmann TB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I can't remember and find if there is a field property or a function to
check, if a text in a field fits in the visible part of the field. Something
like text overflow?

Or how can I compare the length of a text with the width of a field (single
line)? Probably done a thousand times.

Thanks

Tiemo

 

 

 

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: property for text overflow?

by Eric Chatonet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bonjour Tiemo,

Le 22 juil. 08 à 14:35, Tiemo Hollmann TB a écrit :

> Hi, I can't remember and find if there is a field property or a  
> function to
> check, if a text in a field fits in the visible part of the field.  
> Something
> like text overflow?
>
> Or how can I compare the length of a text with the width of a field  
> (single
> line)? Probably done a thousand times.
>
> Thanks
>
> Tiemo

1. See dontWrap property
2. the formattedWidth of fld "MyField" > the width of fld "MyField"

Might help :-)

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet@.../
----------------------------------------------------------------


_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Re: property for text overflow?

by Jan Schenkel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- Tiemo Hollmann TB <toolbook@...> wrote:

> Hi, I can't remember and find if there is a field
> property or a function to
> check, if a text in a field fits in the visible part
> of the field. Something
> like text overflow?
>
> Or how can I compare the length of a text with the
> width of a field (single
> line)? Probably done a thousand times.
>
> Thanks
>
> Tiemo
>

Hi Tiemo,

Check the 'formattedWidth' and 'formattedHeight' field
properties in the dictionary.

Hope this helped,

Jan Schenkel.

Quartam Reports & PDF Library for Revolution
<http://www.quartam.com>

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)


     
_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

AW: property for text overflow?

by Tiemo Hollmann TB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh ja, sometimes it is so easy :)
Thanks Eric and Jan!
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces@... [mailto:use-revolution-
> bounces@...] Im Auftrag von Eric Chatonet
> Gesendet: Dienstag, 22. Juli 2008 14:42
> An: How to use Revolution
> Betreff: Re: property for text overflow?
>
> Bonjour Tiemo,
>
> Le 22 juil. 08 à 14:35, Tiemo Hollmann TB a écrit :
>
> > Hi, I can't remember and find if there is a field property or a
> > function to
> > check, if a text in a field fits in the visible part of the field.
> > Something
> > like text overflow?
> >
> > Or how can I compare the length of a text with the width of a field
> > (single
> > line)? Probably done a thousand times.
> >
> > Thanks
> >
> > Tiemo
>
> 1. See dontWrap property
> 2. the formattedWidth of fld "MyField" > the width of fld "MyField"
>
> Might help :-)
>
> Best regards from Paris,
> Eric Chatonet.
> ----------------------------------------------------------------
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: eric.chatonet@.../
> ----------------------------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution@...
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@...
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution