You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

vpr

Beginner

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

Posts: 30

Date of registration: May 21st 2014

  • Send private message

1

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

1
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

1
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