Is Listbox focused

B

Boni

Dear all,
is it possible to determine if a particular control (i.e. Listbox) has
focus, without implementing gotfocus/lostfocus?
I can't find such property.
P.S I know that I can implement such property, with gotfocus/lostfocus, but
may be there is a better way?
 
A

Armin Zingler

Boni said:
Dear all,
is it possible to determine if a particular control (i.e. Listbox) has
focus, without implementing gotfocus/lostfocus?
I can't find such property.

The Focused property?

Armin
 
B

Boni

Hi Armin,
strange that intelisence don't show it on my PC. But it seems to exist
anyway. Thanks:)
 
A

Armin Zingler

Boni said:
Hi Armin,
strange that intelisence don't show it on my PC. But it seems to exist
anyway. Thanks:)


Don't hide the "advanced" members:

Menu Tools -> Options -> Text-Editor -> Basic:
Uncheck [ ] hide advanced members

Armin
 

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