by LPChip (7 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Wed 30th October 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it line for line.)
'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.
No comments have been posted about Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it . Why not be the first to post a comment about Create an rectangle on your form with ONE line of code. (i posted this because i saw someone do it .