Panel focus?

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?
 
P

Pete Vickers [eMVP]

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?
 

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