selectionchanged


pfcutil.pbl   >   pfc_u_tabpg_dwproperty_status   >   ddlb_columnstatus   >   selectionchanged   

Full name pfc_u_tabpg_dwproperty_status.ddlb_columnstatus.selectionchanged
Access public
Extend of
Return value
Prototype event selectionchanged()

Name Datatype
No Data

Name Datatype
le_status dwItemStatus
li_rc integer
ll_currow long
lnv_conversion n_cst_conversion
ls_colname string
ls_status string

event selectionchanged;call super::selectionchanged;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  selectionchanged
//	
//	Description:
//	Attempt to change the columnstatus to the new selection.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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
long			ll_currow
string		ls_colname
string		ls_status
dwItemStatus le_status
n_cst_conversion lnv_conversion

// Get the current row and column.
ll_currow = dw_requestorview.GetRow()
ls_colname = dw_requestorview.GetColumnName()

If ll_currow > 0 And Len(ls_colname) > 0 Then
	ls_status = this.Text
	li_rc = lnv_conversion.of_dwItemStatus(ls_status, le_status)
	If li_rc > 0 Then
		li_rc = dw_requestorview.SetItemStatus(ll_currow, ls_colname, Primary!, le_status)
	End If
End If

// Update the onscreen stats.
Parent.Event pfc_PropertyStats()

end event

     
Name Owner
No Data

     
Name Owner
datawindow.getcolumnname datawindow
datawindow.getrow datawindow
datawindow.setitemstatus datawindow
systemfunctions.len systemfunctions
pfc_n_cst_conversion.of_dwitemstatus pfc_n_cst_conversion
dropdownlistbox.selectionchanged dropdownlistbox
pfc_u_tabpg_dwproperty_status.pfc_propertystats pfc_u_tabpg_dwproperty_status

     
Full name
pfc_u_tabpg_dwproperty_status

     
Name Scope
No Data