pfc_propertysyntax


pfcutil.pbl   >   pfc_u_tabpg_dwproperty_srvreqcolumn   >   pfc_propertysyntax   

Full name pfc_u_tabpg_dwproperty_srvreqcolumn.pfc_propertysyntax
Access public
Extend of
Return value
Prototype event pfc_propertysyntax()

Name Datatype
No Data

Name Datatype
li_cnt integer
li_upper integer
ls_syntax string

event pfc_propertysyntax;call super::pfc_propertysyntax;//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		pfc_propertysyntax
//
//	Access:    		Public
//
//	Arguments:  	None
//
//	Returns:   		String
//	  The syntax required to create the currently selections.
//   '!' in error
//
//	Description:  
//	Create the required syntax to match the current selections.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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_cnt
integer	li_upper
string	ls_syntax

// Validate references.
If IsNull(idw_requestor) or Not IsValid(idw_requestor) Then
	Return '!'
End If
If IsNull(idw_requestor.inv_reqcolumn) or Not IsValid(idw_requestor.inv_reqcolumn) Then
	Return '!'
End If


// -- Start the service. --
ls_syntax += 'This.of_SetReqColumn(TRUE)~r~n'

// -- Register Skip Columns. --
// Get the number of items in the ListBox.
li_upper = lb_registeredskipcolumns.TotalItems( )
For li_cnt = 1 to li_upper
	// Is the item selected?
	If lb_registeredskipcolumns.State(li_cnt) = 1 THEN  
		ls_syntax += 'This.inv_reqcolumn.of_RegisterSkipColumn('+ &
					lb_registeredskipcolumns.text(li_cnt)+')~r~n'
	End If
Next

Return ls_syntax

end event

     
Name Owner
No Data

     
Name Owner
listbox.state listbox
listbox.text listbox
listbox.totalitems listbox
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_u_tabpg_dwproperty_base.pfc_propertysyntax pfc_u_tabpg_dwproperty_base

     
Full name
pfc_u_tabpg_dwproperty_srvreqcolumn

     
Name Scope
No Data