VpeSetFocusToFirstControl

<< Click to Display Table of Contents >>

Navigation:  Interactive Objects >

VpeSetFocusToFirstControl

Previous pageReturn to chapter overviewNext page

The focus is set to the very first control in the document (i.e. the control with the lowest TAB-ID).

int VpeSetFocusToFirstControl(

VpeHandle hDoc,

)

VpeHandle hDoc

Document Handle

Returns:

Value

Description

True

success, the first control in the Tab-Order received the focus

False

otherwise, for example if every object - or the whole document - is disabled, or the object which currently owns the focus did not allow to remove the focus

 

See Also:

"Interactive Documents" in the Programmer's Manual.