FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with width in printer class
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem with width in printer class
Posted: Wed Jun 18, 2008 05:50 PM
Antonio,

A few versions ago I asked you a solution to make the width work in the CmSay or InchSay instructions.

This were the changes you told me to do :

You asked me to replace these lines

  METHOD CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad );
      INLINE ;
      (::Cmtr2Pix(@nRow, @nCol ),;
       ::Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ))

  METHOD InchSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad );
      INLINE ;
      (::Inch2Pix(@nRow, @nCol),;
       ::Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) )

by
  METHOD CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A );
      INLINE ;
      (::Cmtr2Pix( @nRow, @nCol ),;
   	 If( nWidth # Nil, ( ::Cmtr2Pix( 0, @nWidth ), nWidth += ::nYOffset ), Nil ),;
   	 ::Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ))

  METHOD InchSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A );
      INLINE ;
      (::Inch2Pix( @nRow, @nCol ),;
       If( nWidth # Nil, ( ::Inch2Pix( 0, @nWidth ), nWidth += ::nYOffset ), Nil ),;
       ::Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ))


Why aren't these changes in the latest FWH build ?

Thanks.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Problem with width in printer class
Posted: Sat Jun 28, 2008 07:23 PM

Michel,

If we haven't include them yet is because we are not totally sure if it may break backwards compatibility in working applications.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Problem with width in printer class
Posted: Sun Jun 29, 2008 08:11 PM

Antonio,

Thanks for you answer.

I shall do the change in the printer class myself until I notice the change in a future version.

But I can tell you that it's working fine.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion