
VB Basic Draw Commands Don't work.
Only if the form autoredraw is true, which its not by default, and for good
reason.
--
Randy Birch, MVP Visual Basic
http://www.mvps.org/vbnet/
http://www.mvps.org/ccrp/
Quote:
> If someone started a new project, with 1 simple form called Form1
> Shouldn't the following code draw a line across the form??? What could
> cause none of the Line or circle, Pset, or any graphics command to fail?
> Does visual basic suck this bad?? Should I re-install? Does anyone know
> any other language that can ACTUALLY DRAW SOMETHING????? This is
> becomming bullshit.
> Private Sub Form_Load()
> Form1.Width = Screen.Width / 2
> Form1.Height = Screen.Height / 2
> Form1.Top = (Screen.Height - Form1.Height) / 2
> Form1.Left = (Screen.Width - Form1.Width) / 2
> ' Try to Draw a Line?
> Form1.Line (0, 0)-(1440, 2880)
> End Sub
> Please help if you've ever seen absolutely Zero responsiveness from any
> graphics command!!
> Thanks,
> Tracy