BUG? Lenght of SAY

BUG? Lenght of SAY

Postby byte-one » Tue Oct 14, 2008 2:29 pm

When in an dialog the clausula TRANSPARENT is used, then a REDEFINE SAY are not wrapped in the next line, when the text to long for nWidth. Without TRANSPARENT in the dialog all is ok.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: BUG? Lenght of SAY

Postby Richard Chidiak » Tue Oct 14, 2008 2:46 pm

I confirm the same behaviour
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Postby Antonio Linares » Tue Oct 14, 2008 11:11 pm

There is a new clause for SAY:

REDEFINE GET ... ADJUST
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby byte-one » Wed Oct 15, 2008 7:44 am

Antonio, not a GET, a SAY! When using the ADJUST it is still the same. The Text is in one line and cutted. The text should wrapped in the next line as in older FWH has been. In the RC-file the SAY are defined as "left text" or "centered", but all the same.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Postby Antonio Linares » Wed Oct 15, 2008 8:22 am

Günther,

My mistake when I wrote it :-)

I meant:

REDEFINE SAY ... ADJUST
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Wed Oct 15, 2008 8:23 am

Günther,

Could you please provide a small and self contained PRG example ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby byte-one » Wed Oct 15, 2008 2:41 pm

Antonio, with a absolut normal dialog from resources!

This is with DIALOG......TRANSPARENT

Image

and this without TRANSPARENT

Image
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Postby byte-one » Thu Oct 16, 2008 12:12 pm

Antonio, I found, that FixSays( ::hWnd ) in method Initiate from Tdialog this behaviour made!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

URGENT

Postby byte-one » Tue Oct 21, 2008 9:46 am

Antonio, I found, that FixSays( ::hWnd ) in method Initiate from Tdialog this behaviour made!


Antonio, is there a way to make FixSays() with line wrapping for you or is a other solution possible?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 91 guests