RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInplaceEdit.SetFocus Method

Gives the editor window input focus if it is visible.

Pascal
procedure SetFocus; reintroduce;
C++
__fastcall SetFocus();

Use SetFocus to cause keyboard events to go to the editor window. Focus will not move to the window if it is hidden by a call to the Hide method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!