AutoSize oSay

Post Reply
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

AutoSize oSay

Post by Otto »

Is there an autosize property in the say object?
Thanks in advance
Otto
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: AutoSize oSay

Post by Enrico Maria Giordano »

If you omit the SIZE clause then the SAY object is autosize.

EMG
User avatar
Otto
Posts: 6404
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Post by Otto »

How can I do this with workshop?
regards,
Otto
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Post by Enrico Maria Giordano »

You have to calculate the width of the text using GetTextWidth() function and then to use the Move() method to resize the SAY object.

EMG
Post Reply