[This is preliminary documentation and is subject to change.]
Sets the focus in the container to a particular object.
Declaration Syntax
C# |
bool SetFocusTo( Persistent toFocus )
Parameters
- toFocus (Persistent)
- The object to set focus to.
Return Value
True if the object was showing in this container or any of its
sub-containers, and the focus was successfully set to it, otherwise
false.
Remarks
If the container is bound directly to this object, then this
container is selected. If the container contains sub-containers, then
these are searched also for the object. If this container is not showing
the object, no action is taken.