Form Position

B

Berny

When my tabbed Form opens its position does not show the Tabs unless I scroll
up, is there a way to have the Form open scrolled to the top automatically?

Any help would be greatly appreciated
 
R

Rick Brandt

Berny said:
When my tabbed Form opens its position does not show the Tabs unless
I scroll up, is there a way to have the Form open scrolled to the top
automatically?

Any help would be greatly appreciated

That suggests that the form's window is not large enough to see the entire form
within. Set the AutoResize property of the form to true. That should cause the
window to automatically adjust to the size of the form upon opening. Not that
AutoResize in not triggered when going from desing view to normal view. Only
when you open a completely closed form.

This can also happen if you have a subform on the form and the subform control
is not large enough to see the entire form being used as a subform.
 
B

Berny

The Auto Resize in properties is set to “Yesâ€

The form is both too large to display entirely and it contains a subform

Is there a way to make the form position or scroll to the top of the screen?
 
R

Rick Brandt

Berny said:
The Auto Resize in properties is set to "Yes"

The form is both too large to display entirely and it contains a
subform

Is there a way to make the form position or scroll to the top of the
screen?

Is the control that is first in the TabOrder near the top of the form? That
might solve the problem.

However; I fail to understand a form that won't fit on the screen AND which
contains a TabControl. The main reason to use a TabControl is so that you will
not have to scroll. If the form is going to require scrolling anyway then why
bother with a TabControl?
 
B

Berny

The first control on the form in the tab order is at the top of the form just
below the page tabs.

The form relates to personnel information and the different tab pages
segregate information (i.e.: general information, emergency contact,
training, etc.) however the information on some of the tab pages extend
beyond the existing screen.

Is there a way to set the focus on the tabs? Perhaps that will help?
 
R

Rick Brandt

Berny said:
The first control on the form in the tab order is at the top of the
form just below the page tabs.

The form relates to personnel information and the different tab pages
segregate information (i.e.: general information, emergency contact,
training, etc.) however the information on some of the tab pages
extend beyond the existing screen.

Is there a way to set the focus on the tabs? Perhaps that will help?

You might be able to place a tiny dummy TextBox in the upper corner and set that
to first in the TabOrder.
 
B

Berny

Thank you,

That appears to have done the job

Proving that sometimes what may appear difficult, really has a simple
solution; if you know what your doing.

Again thank you,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top