Panel focus?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to make a GUI consisting of sevral panels that will be hidden and shown depending on users choice (combobox).

The panels contains various controls that I wish to update (datasource etc.) when a specific panel is shown. I thought that showing a panel would execute the panel_GotFocus event, but it doesn't. How can I update the panels? Should I use the combobox event or is there some other way?
 
Hi,
you need to set focus to the required control within your panel. Setting
focus on the panel would not do it.

Pete

--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com

ladyhawke said:
I'm trying to make a GUI consisting of sevral panels that will be hidden
and shown depending on users choice (combobox).
The panels contains various controls that I wish to update (datasource
etc.) when a specific panel is shown. I thought that showing a panel would
execute the panel_GotFocus event, but it doesn't. How can I update the
panels? Should I use the combobox event or is there some other way?
 
Back
Top