Имя функции | dcl-Control-SetFocus |
---|---|
Синтаксис | (dcl-Control-SetFocus
<CONTROL>) |
Возвращаемый тип | Boolean (T - успешно; иначе NIL) |
Подходит к | All Controls and Forms |
This method sets the keyboard focus to the control if it is visible.
Note
Do not call this function inside your OnInitialize event handler to set the initial focus to a specific control. Instead, use the ZOrder function to put the desired focus control at the top of the Z/Tab order.