|
of_setfocusonrequestor
|
|
Full name
|
pfc_u_calculator.of_setfocusonrequestor
|
Access
|
protected
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
protected function integer of_setfocusonrequestor()
|
protected function integer of_setfocusonrequestor ();//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetFocusOnRequestor
//
// Access: Protected
//
// Arguments: None
//
// Returns: Integer
// 1 if it succeeds and -1 if an error occurs.
//
// Description: Sets the focus on the requestor.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
// Validate Reference.
If IsNull(idrg_requestor) or Not IsValid(idrg_requestor) Then
Return -1
End If
Return idrg_requestor.SetFocus()
end function
Name
|
Owner
|
dragobject.setfocus |
dragobject
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|