|
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)
|
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
|
systemfunctions.isnull |
systemfunctions
|