|
of_setrequestor
|
|
Full name
|
pfc_n_cst_winsrv_sheetmanager.of_setrequestor
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setrequestor(w_master)
|
public function integer of_setrequestor (w_master aw_requestor);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetRequestor
//
// Access: public
//
// Arguments:
// aw_requestor The frame window requesting this service
//
// Returns: integer
// 1 = success
// -1 = error
//
// Description: associates a frame window with this service.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1999 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 arguments
if IsNull(aw_requestor) Or not IsValid (aw_requestor) then
return -1
end if
// Only frame windows can use this service
if aw_requestor.windowtype <> mdi! and aw_requestor.windowtype <> mdihelp! then
return -1
end if
iw_requestor = aw_requestor
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.isvalid |
systemfunctions
|