|
of_setdisplaystyle
|
|
Full name
|
pfc_u_progressbar.of_setdisplaystyle
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setdisplaystyle(integer)
|
public function integer of_setdisplaystyle (integer ai_displaystyle);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetDisplayStyle
//
// Access: public
//
// Arguments:
// ai_displaystyle display style of the progressbar
//
// Returns: integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Set the display style of the progress bar
// 0=just the bar
// 1=% complete
// 2=position
// 3=text from settext
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
if isnull(ai_displaystyle) then
return -1
end if
if NOT ((ai_displaystyle = BAR) or (ai_displaystyle = PCTCOMPLETE) or &
(ai_displaystyle = POSITION) or (ai_displaystyle = MSGTEXT)) then
return -1
end if
ii_displaystyle = ai_displaystyle
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|