grid printing

grid printing

Postby jds » Sat Sep 01, 2018 10:43 am

Is it possible to print a grid on a simple way ?
kind regards
José
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: grid printing

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: grid printing

Postby jds » Sat Sep 01, 2018 1:52 pm

No simply print on paper a grid with 5 x 5 rows/cols
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: grid printing

Postby Antonio Linares » Sun Sep 02, 2018 6:27 am

Please review FWH\samples\testprn2.prg
regards, saludos

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


Return to FiveWin for Harbour/xHarbour

Who is online

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