Page 1 of 1

How can I change the line color when I draw a rectangle ?

Posted: 20 Oct 2011 2:55
by silverhawk
I want it to be white.

thank you in advance :-)

Anyone ?

Posted: 20 Oct 2011 15:50
by silverhawk
Is it possible?

Posted: 20 Oct 2011 16:40
by Steve Lympany
Use setpen() (GDI or VPI). Also setBrush. eg

Code: Select all

draw(GDI):- GDI:setpen(1,ps_solid,color_white),

Posted: 20 Oct 2011 17:31
by silverhawk

I used

winSetPen(WindowsHandle W, pen(1,ps_solid,Color)),

Thank you for your guidance!