of_string


pfcapsrv.pbl   >   pfc_n_cst_conversion   >   of_string   

Full name pfc_n_cst_conversion.of_string
Access public
Extend of string
Return value string
Prototype public function string of_string(toolbaralignment)

Name Datatype
No Data

Name Datatype
ls_null String

public function string of_string (toolbaralignment ae_alignment);//////////////////////////////////////////////////////////////////////////////
//
//	Function:		of_String
//
//	Access:			public
//
//	Arguments:
//	ae_alignment	The toolbaralignment value to be converted to a string.
//
//	Returns:  		string		
//						A string representation of the toolbaralignment value.
//						If ae_alignment is NULL, the function returns NULL.
//						If ae_alignment is Invalid, the function returns '!'.
//
//	Description:	Converts the toolbaralignment enumerated datatype to a 
//						readable string representation.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.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.
//
//////////////////////////////////////////////////////////////////////////////

//Check parameters
If IsNull(ae_alignment) Then
	String ls_null
	SetNull(ls_null)
	Return ls_null
End If

Choose Case ae_alignment

	Case alignattop!
		Return "Top"

	Case alignatbottom!
		Return "Bottom"

	Case alignatright!
		Return "Right"

	Case alignatleft!
		Return "Left"

	Case floating!
		Return "Floating"
	
End Choose

//Invalid parameter value
Return "!"
end function

     
Name Owner
pfc_n_cst_winsrv_preference.of_save pfc_n_cst_winsrv_preference

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.setnull systemfunctions

     
Full name
No Data

     
Name Scope
No Data