|
endlabeledit
|
|
Full name
|
pfc_u_lvs.endlabeledit
|
Access
|
public
|
Extend of
|
|
Return value
|
|
Prototype
|
event endlabeledit()
|
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