of_setstyle


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_rowselection   >   of_setstyle   

Full name pfc_n_cst_dwsrv_rowselection.of_setstyle
Access public
Extend of integer
Return value integer
Prototype public function integer of_setstyle(integer)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_setstyle (integer ai_style);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_SetStyle
//
//	Access:    		Public
//
//	Arguments:
//	ai_selectoption   The style of row selection desired.
//							Values are: 
//								  0 = Single row selection
//								  1 = Multiple row selection
//								  2 = Extended row selection capabilities
//
//	Returns:  		Integer
//	 					 1 = success
//   					-1 = The selection style requested is not available
//
//	Description:  	Set an indicator in this service for the desired 
//					  	row selection style. 
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
// 6.0	Use of constants within services.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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(ai_style) THEN
	Return -1
END IF

CHOOSE CASE ai_style
	CASE SINGLE, MULTIPLE, EXTENDED
		ii_style = ai_style
		Return 1
END CHOOSE

Return -1 

end function

     
Name Owner
w_resp_customer_search.pfc_postopen w_resp_customer_search
w_resp_employee.pfc_postopen w_resp_employee
w_resp_sales_order.pfc_postopen w_resp_sales_order
w_resp_salesperson.pfc_postopen w_resp_salesperson
pfc_w_restorerow.dw_delete.constructor dw_delete
pfc_u_tabpg_dwproperty_buffers.dw_requestorview.constructor dw_requestorview
pfc_u_tabpg_dwproperty_buffers.dw_requestorduplicate.constructor dw_requestorduplicate
pfc_u_tabpg_dwproperty_srvrowselection.pfc_propertyapply pfc_u_tabpg_dwproperty_srvrowselection
pfc_u_tabpg_dwproperty_status.dw_requestorview.constructor dw_requestorview

     
Name Owner
systemfunctions.isnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data