|
of_setmessagetext
|
|
Full name
|
pfc_u_progressbar.of_setmessagetext
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_setmessagetext(string[])
|
public function integer of_setmessagetext (string as_msgtext[]);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_SetMessageText
//
// Access: public
//
// Arguments:
// as_msgtext the text array to show on the progress bar separated by as_delimiter
//
// Returns: integer
// the number of elements in the text which is parsed
// -1 = error
//
// Description:
// Sets the text array which is shown 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.
//
//////////////////////////////////////////////////////////////////////////////
if isnull(as_msgtext) then
return -1
end if
// pass in array of messagetext and return # of elements
is_msgtext = as_msgtext
ii_msgtextcount = upperbound(is_msgtext)
return ii_msgtextcount
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|
systemfunctions.upperbound |
systemfunctions
|