FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour grid printing
Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
grid printing
Posted: Sat Sep 01, 2018 10:43 AM

Is it possible to print a grid on a simple way ?
kind regards
José

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: grid printing
Posted: Sat Sep 01, 2018 11:37 AM

José,

Do you mean to print it on a window or dialog ?

If so, then please try:

oWnd:bPainted = { | hDC, cPS | DrawGrid( oWnd:hWnd, hDC, cPS, 5, 5 ) }

There is an example of use in FWH\visual\design.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 124
Joined: Sat Dec 05, 2009 12:44 PM
Re: grid printing
Posted: Sat Sep 01, 2018 01:52 PM

No simply print on paper a grid with 5 x 5 rows/cols

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: grid printing
Posted: Sun Sep 02, 2018 06:27 AM

Please review FWH\samples\testprn2.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion