of_getmessagetext


pfcmain.pbl   >   pfc_u_progressbar   >   of_getmessagetext   

Full name pfc_u_progressbar.of_getmessagetext
Access public
Extend of integer
Return value integer
Prototype public function integer of_getmessagetext(ref string[])

Name Datatype
No Data

Name Datatype
li_itemcount integer
ls_temp string[]

public function integer of_getmessagetext (ref string as_messagetext[]);//////////////////////////////////////////////////////////////////////////////
//
//	Function:	of_GetMessageText
//
//	Access:		public
//
//	Arguments:	as_messagetext[]	array to hold the message text - by reference
//
//	Returns:		integer
//	 the number of elements in the message text array
//
//	Description:
//	Returns the message text used for display on the progress bar
//
//////////////////////////////////////////////////////////////////////////////
//
//	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.
//
//////////////////////////////////////////////////////////////////////////////
integer	li_itemcount
string	ls_temp[]

// clear out the argument array
as_messagetext = ls_temp

// set the value
as_messagetext = is_msgtext

// get the number of items in the array
li_itemcount = Upperbound(as_messagetext)

return li_itemcount

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.upperbound systemfunctions

     
Full name
No Data

     
Name Scope
No Data