|
of_setbarfillstyle
|
|
Full name
|
pfc_n_cst_winsrv_statusbar.of_setbarfillstyle
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setbarfillstyle(integer)
|
public function integer of_setbarfillstyle (integer ai_fillstyle);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetBarFillStyle
//
// Access: Public
//
// Arguments:
// ai_fillstyle fill style of the progress bar.
//
// Returns: Integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Set the fill style of the progress bar.
// fill style
// LEFTRIGHT = 0
// RIGHTLEFT = 1
// TOPDOWN = 2
// BOTTOMUP = 3
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1999 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_fillstyle) Then
Return -1
End If
if NOT ((ai_fillstyle = LEFTRIGHT) or (ai_fillstyle = RIGHTLEFT) or &
(ai_fillstyle = TOPDOWN) or (ai_fillstyle = BOTTOMUP)) then
return -1
end if
ii_barfillstyle = ai_fillstyle
Return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|