Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== GOTFOCUS event ====== ==== Description ==== Occurs when focus shifts to the control. ==== Syntax ==== //bforward// = **GOTFOCUS**(//ctrlentID//, //ctrlclassID, PrevFocusID//) ==== Parameters ==== GOTFOCUS accepts arguments for the following parameters. ^Parameter^Description^ |//ctrlentID//|Has the format //WindowName.ControlName//, where //WindowName// is the identifier of the window that contains the affected control, and //ControlName// is the identifier of the control. Notice that a period separates the two values.| |//ctrlclassID//|The type of control that recognizes the event. Valid entries are:\\ \\ __Type__ - __Description__\\ CHECKBOX - Check box.\\ COMBOBOX - Combo box.\\ EDITBOX - Edit box.\\ EDITFIELD - Edit line.\\ EDITTABLE - Edit table.\\ LISTBOX - List box.\\ PUSHBUTTON - Push-button.\\ RADIOBUTTON - Radio button.\\ WINDOW - Window.| |//PrevFocusID//|The previous value of the [[gotfocus_control|GOTFOCUS_CONTROL]] property.| ==== Returns ==== True or false. If false, the program execution returns to the calling procedure. If true, the event processing goes to the next level. ==== See Also ==== [[lostfocus_event|LOSTFOCUS]] , [[activated_event|ACTIVATED]] , [[inactivated_event|INACTIVATED]] events, [[focus|FOCUS property]] ==== Remarks ==== Set_Property(//ctrlentID//, 'FOCUS') does not execute this event while Set_Property ('SYSTEM', 'FOCUS', ctrlentID) does. guides/programming/programmers_reference_manual/gotfocus_event.txt Last modified: 2024/06/19 20:20by 127.0.0.1