Push Button - GotFocus Event

Fired when the control receives the focus

Member of Push Button (PRIM_PHBN)

Details

The GotFocus event fires when the control becomes the active control, typically through a user action with mouse or keyboard.
 
The focus control is the one that will respond to keyboard entry.
 
If using the Tab key to navigate around an application, focus will follow the sequence as defined by the TabPosition property.
 
Focus can be set to a control programmatically.

Example

Setting focus to another control in a button click.
Evtroutine Handling(#Open.Click)
 
   #Detailer.SetFocus
   #Detailer.ShowEmployee(#Empno)
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2