AutoSize oSay

AutoSize oSay

Postby Otto » Wed Dec 12, 2007 9:27 pm

Is there an autosize property in the say object?
Thanks in advance
Otto
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: AutoSize oSay

Postby Enrico Maria Giordano » Wed Dec 12, 2007 10:33 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Otto » Thu Dec 13, 2007 7:00 am

How can I do this with workshop?
regards,
Otto
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Enrico Maria Giordano » Thu Dec 13, 2007 12:58 pm

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
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 55 guests