endlabeledit


pfcmain.pbl   >   pfc_u_lvs   >   endlabeledit   

Full name pfc_u_lvs.endlabeledit
Access public
Extend of
Return value
Prototype event endlabeledit()

Name Datatype
No Data

Name Datatype
No Data

event endlabeledit;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  EndLabelEdit
//
//	Description:	Change the label column in the appropriate to be the new
//						text.  This only works if the label column is updatable.
//						If a computed column is being used for the label, override
//						this script with appropriate code.
//
//						NOTE:  Update() is NOT called for the DataStore.  This is
//						left to the user to perform.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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 IsValid(inv_datasource) Then
	If inv_datasource.event pfc_endlabeledit(index, newlabel) <> CONTINUE_ACTION Then
		// prevent new text from becoming the label
		Return 1
	End If
End If

// 0 means to accept the new text for the label
Return 0

end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.isvalid systemfunctions
pfc_n_cst_lvsrv_datasource.pfc_endlabeledit pfc_n_cst_lvsrv_datasource

     
Full name
No Data

     
Name Scope
No Data