You are not logged in.



  • "vpr" is male
  • "vpr" started this thread

Posts: 30

Date of registration: May 21st 2014

  • Send private message


Thursday, October 23rd 2014, 3:44pm

Drawing on Form within Form_Load() causes hang.

I've noticed that if I create a form and add some line drawing code, the program will hang and the form itself will never be shown.

Jabaco Source

Form1.Line(10, 100, 100, 100)

If I were to write this code in a command button and click it, then the line will be drawn, however.

A way around this is to write:

Jabaco Source

me.Line(10, 100, 100, 100)

in form_load()

I'm not sure why this happens and it's not a huge problem but I just thought I'd point it out.

Rate this thread
WoltLab Burning Board