of_setfocusonrequestor


pfcmain.pbl   >   pfc_u_calendar   >   of_setfocusonrequestor   

Full name pfc_u_calendar.of_setfocusonrequestor
Access protected
Extend of integer
Return value integer
Prototype protected function integer of_setfocusonrequestor()

Name Datatype
No Data

Name Datatype
No Data

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
pfc_u_calendar.of_redirectfocus pfc_u_calendar
pfc_u_calendar.dw_cal.key dw_cal
pfc_u_calendar.dw_cal.clicked dw_cal
pfc_u_calendar.dw_cal.doubleclicked dw_cal

     
Name Owner
dragobject.setfocus dragobject
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data