Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't draw lines/dots

Status
Not open for further replies.

Gameboy9

Programmer
Jun 8, 2001
39
0
0
US
I was hoping to easily draw lines and dots in this window I'm forming. But Visual Foxpro refuses to draw them... in my opinion. :)

CODE PIECE:
thisform.ForeColor = RGB(255, 0, 0)
thisform.ForeColor = RGB(255,255,255)
thisform.ForeColor = RGB(255, 0, 0)
FOR lnI = 1 TO 200
FOR lnJ = 1 TO 200
thisform.Line(lnJ, lnI, lnJ+1, lnI+1)
NEXT lnJ
NEXT lnI

Non-default layout properties follow...
AutoCenter = .t.
BackColor = 0,0,0
Closable = .f.
ForeColor = 255,255,255
Icon - icon file
ShowWindow = 2-As Top-Level Form
WindowState = 2-Maximized
Caption, Height, Width, MinHeight, MinWidth

Black background, supposedly red ink, but no writing. Thanks for any responses you may have in advance.
 
I think I resolved the issue myself... I had it on resize, but I moved it to a one-time, second-time around, paint call... it seems to work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top