Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
test if a control has or doesnt have focus?
Is it possible for me to test if a control has or doesnt have focus?
Event handlers are called even when the associated event wasn't user generated. for example, if a listbox is updated in another method Sub listbox_click() some code End sub Can I test to see if the user clicked or if another method called it by testing for focus? For example: Sub listbox_click() if gotfocus(listbox) then some code End sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calculate mean of test scores from rows of test answers | Excel Discussion (Misc queries) | |||
font size changes w/ control focus | Excel Worksheet Functions | |||
Embed command button from the control toolbox doesnt work | Excel Worksheet Functions | |||
Embed command button from the control toolbox doesnt work | Excel Worksheet Functions | |||
Taking focus off a Control Checkbox | Excel Programming |