|
pfc_refreshitem
|
|
Full name
|
pfc_u_lvs.pfc_refreshitem
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_refreshitem(integer)
|
event pfc_refreshitem;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_RefreshItem
//
// Arguments:
// ai_index The index of the item to be refreshed.
//
// Returns: Integer
// 1 if successfull
// -1 if an error occurred
//
// Description: Refresh an item in the ListView. Reset all its attributes to the
// default values based on the data in the DataStore.
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// are we using the service
If isvalid(inv_datasource) then
Return inv_datasource.event pfc_refreshitem(ai_index)
End If
Return -1
end event