You are not logged in.

Blue Blazes

Beginner

  • "Blue Blazes" started this thread

Posts: 15

Date of registration: Aug 14th 2009

  • Send private message

1

Tuesday, August 18th 2009, 1:43pm

Followup quick question about Form

Thank you, Manuel, and I have a related followup question ...
with VB6 I was able to set the form Me.Left and Me.Top in the Form Load() process (with StartupPosition = Manual). I wasn't successful doing this with Jabaco. Is something else required?

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Tuesday, August 18th 2009, 2:57pm

Hi,
properties like "top" and "left" don't change the form position in "Form_Load".
"Me.Refresh" does not help either.
Try using "Form_Resize" instead. Use a flag variable to distinguish between 1st resize and normal resize.
Strangely enough, "Form_Resize" gets called four times after the initial Form_Load without any resizing taking place.

Greetings!

A1880

Blue Blazes

Beginner

  • "Blue Blazes" started this thread

Posts: 15

Date of registration: Aug 14th 2009

  • Send private message

3

Tuesday, August 18th 2009, 3:13pm


Thank you for the ideas, "A1". Yes, that worked well! It would be very useful if these great ideas, hints and differences from VB were written somewhere. Thank you again.

Rate this thread
WoltLab Burning Board