pfc_propertypopulate


pfcutil.pbl   >   pfc_u_tabpg_dwproperty_srvrowselection   >   pfc_propertypopulate   

Full name pfc_u_tabpg_dwproperty_srvrowselection.pfc_propertypopulate
Access public
Extend of integer
Return value integer
Prototype event integer pfc_propertypopulate()

Name Datatype
No Data

Name Datatype
li_rc integer
li_style integer

event pfc_propertypopulate;//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		pfc_properypopulate
//
//	Access:    		Public
//
//	Arguments:  	None
//
//	Returns:   		Integer
//   1 if it succeeds.
//	 -1 if an error occurs.
//
//	Description:  	
//	Populate the screen edit controls with the current service values.
//
//////////////////////////////////////////////////////////////////////////////
//
//	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_rc
integer	li_style

// Validate references.
If IsNull(idw_requestor) or Not IsValid(idw_requestor) Then
	Return -1
End If
If IsNull(idw_requestor.inv_rowselect) or Not IsValid(idw_requestor.inv_rowselect) Then
	Return -1
End If

// Get the current dialog style.
li_style = idw_requestor.inv_rowselect.of_GetStyle()
ii_style = li_style + 1
li_rc = ddlb_style.SelectItem(ii_style)

// Determine if KeyBoard support is enabled.
cbx_keyboard.Checked = idw_requestor.inv_rowselect.of_IsKeyBoard()

Return 1

end event

     
Name Owner
No Data

     
Name Owner
dropdownlistbox.selectitem dropdownlistbox
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions
pfc_n_cst_dwsrv_rowselection.of_GetStyle pfc_n_cst_dwsrv_rowselection
pfc_n_cst_dwsrv_rowselection.of_IsKeyboard pfc_n_cst_dwsrv_rowselection

     
Full name
pfc_u_tabpg_dwproperty_srvrowselection

     
Name Scope
No Data