Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating:
(3 Votes)
nothing special, just a function to create a chess fields with the line function
Inputs
'Call Createfield(ctl, startx,starty,sizex,sizey,countx,county,color1,color2)
'ctl = where to create
'startx = where to start from top (picel)
'starty = where to start from left (pixel)
'sizex = width of one block (picel)
'sizey = height of one block (picel)
'countx = how many blocks a row
'county = how many rows
'color1 = the color of the first block (qbcolor)
'color2 = the color of the second block (qbcolor)
Upload