|
of_setfillstyle
|
|
Full name
|
pfc_u_progressbar.of_setfillstyle
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setfillstyle(integer)
|
public function integer of_setfillstyle (integer ai_fillstyle);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetFillStyle
//
// Access: Public
//
// Arguments:
// ai_fillstyle the fill style of the progressbar
//
// Returns: integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Set the fill style of the progress bar
// 0 = LEFTRIGHT
// 1 = RIGHTLEFT
// 2 = TOPDOWN
// 3 = BOTTOMUP
//
//////////////////////////////////////////////////////////////////////////////
//
// 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_fillstyle) then
return -1
end if
if NOT ((ai_fillstyle = TOPDOWN) or (ai_fillstyle = BOTTOMUP) or &
(ai_fillstyle = LEFTRIGHT) or (ai_fillstyle = RIGHTLEFT)) then
return -1
end if
ii_fillstyle = ai_fillstyle
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|