|
pfc_propertysyntax
|
|
Full name
|
pfc_u_tabpg_dwproperty_srvrowmanager.pfc_propertysyntax
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event pfc_propertysyntax()
|
Name
|
Datatype
|
lb_desired
|
boolean
|
li_cnt
|
integer
|
li_excludecount
|
integer
|
li_index
|
integer
|
li_rc
|
integer
|
li_styledesired
|
integer
|
li_upper
|
integer
|
lnv_conversion
|
n_cst_conversion
|
ls_exclude
|
string
|
ls_excludecols
|
string[]
|
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_upper
integer li_cnt
integer li_rc
integer li_styledesired
integer li_index
integer li_excludecount=0
string ls_excludecols[]
string ls_exclude
string ls_syntax
boolean lb_desired
n_cst_conversion lnv_conversion
// Validate references.
If IsNull(idw_requestor) or Not IsValid(idw_requestor) Then
Return '!'
End If
If IsNull(idw_requestor.inv_rowmanager) or Not IsValid(idw_requestor.inv_rowmanager) Then
Return '!'
End If
// -- Start the service. --
ls_syntax += 'This.of_SetRowManager(True)~r~n'
// -- Confirm on Delete. --
lb_desired = cbx_confirmondelete.Checked
ls_syntax += '~r~nThis.inv_rowmanager.of_SetConfirmOnDelete('+lnv_conversion.of_String(lb_desired)+')'
// -- Restore Row. --
lb_desired = cbx_restorerow.Checked
ls_syntax += '~r~nThis.inv_rowmanager.of_SetRestoreRow('+lnv_conversion.of_String(lb_desired)+')'
Return ls_syntax
end event