- Home
·
- Graphics
·
- Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it
Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it
Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it line for line.)
Rate Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it
(1(1 Vote))
'change form1 to a picturebox if you want to display it in there.
'Note to set the the autoredraw to true, otherwise it erases when a form is hovered over.
form1.line(100,100)-(1000,2000), RGB(0, 0, 255), B
' ^ object with line support
' ^X,Y start coordinates
' ^X,Y end coordinates
' ^Red green and blue colors
' ^ B means border, BF means filled.
Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it Comments
No comments yet — be the first to post one!
Post a Comment