![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Подскажите PLEASE!!! [D5, D6, WinME]
alexvan © (2002-07-06 09:24:00)Люди! Подскажите! Вопрос глупый, но необходим. Как определить в каком поле на форме в настоящее время находится SetFocus? какая функция это делает?
MsGuns (2002-07-06 15:51:00) [1]Если форм неск, но TScreen.ActiveControl !
alexvan (2002-07-06 09:38:00) [2]Спасибо всем!!!
TTCustomDelphiMaster (2002-07-06 09:36:00) [3]TCustomForm.ActiveControl
Specifies the control that has focus on the form.
property ActiveControl: TWinControl;
Description
Use ActiveControl to get or set the control that has focus on the form. Only one control can have focus at a given time in an application.
If the form does not have focus, ActiveControl is the control on the form that will receive focus when the form receives focus.
Note: When focus shifts to another control, ActiveControl is updated before the OnExit event occurs.
MBo (2002-07-06 09:32:00) [4]ActiveControl