of_setrmbmenu


pfcmain.pbl   >   pfc_u_tvs   >   of_setrmbmenu   

Full name pfc_u_tvs.of_setrmbmenu
Access public
Extend of integer
Return value integer
Prototype public function integer of_setrmbmenu(boolean)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setrmbmenu (boolean ab_switch);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  of_SetRMBMenu
//
//	Access:  Public
//
//	Arguments:
//	ab_switch   True if RMB menu should pop up on right clicked
//
//	Returns:  integer
//	 1 = success
//	-1 = error
//
//	Description:
//	Sets whether the popup menu occurs on a right mouse click
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Check arguments
if IsNull (ab_switch) then
	return -1
end if

ib_rmbmenu =  ab_switch
return 1
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data