of_setbaroffsetx


pfcwnsrv.pbl   >   pfc_n_cst_winsrv_statusbar   >   of_setbaroffsetx   

Full name pfc_n_cst_winsrv_statusbar.of_setbaroffsetx
Access public
Extend of integer
Return value integer
Prototype public function integer of_setbaroffsetx(integer)

Name Datatype
No Data

Name Datatype
li_rc integer

public function integer of_setbaroffsetx (integer ai_offset);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_SetBarOffsetX
//
//	Access:		Public
//
//	Arguments:
//	ai_offset	The new offset for the bar.
//	
//	Returns:		Integer
//	SUCCESS = 1
//	ERROR = -1
//
//	Description:
//	Sets the X offset of the bar.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
integer	li_rc

// Check arguments.
If IsNull(ai_offset) or ai_offset < 0 Then
	Return -1
End If

ii_baroffsetx = ai_offset

// Notify the GUI of the change.
If IsValid(iw_statusbar) Then
	li_rc = iw_statusbar.of_CreateVisuals()
End If

Return li_rc
end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_w_statusbar.of_createvisuals pfc_w_statusbar

     
Full name
No Data

     
Name Scope
No Data