RAD Studio VCL Reference
|
Forces a form's focus to the first data-aware component associated with the field object.
procedure FocusControl;
__fastcall FocusControl();
Call FocusControl to switch the focus of the form to a data-aware control associated with the field. Because it is possible that the field's value can change even if its associated data-aware control does not have the focus, calling FocusControl can aid in drawing attention to a new value when it fails to be validated.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|