Disappearing Toolbar(?)

  • Thread starter Thread starter Peter Huish
  • Start date Start date
P

Peter Huish

I have a VB application that has a tab control with a command button on
it to displays a dialog box. To overcome a focus problem that occurred
when returning from the dialog I am doing a the following:

Me.Show()
Me.WindowsState = FormWindowState.Maximised

The problem is that the toolbar (ie where the X appears) disappears off
the screen - like the form has scrolled up but no scroll bar is present.

Things seem fine in the emulator (for the focus problem).

So, how can I resume the correct form focus?

or, how do I retain the toolbar?



I am using Visual Studio 2003 & VB.Net


thanks

pete
 
Can you post a sample with 2 forms. One showing the "focus problem" you
refer to and one showing the problem with your workaround and the
disappearing *title* bar.

Cheers
Daniel
 
Back
Top