|
pfc_populate
|
|
Full name
|
pfc_u_tvs.pfc_populate
|
Access
|
public
|
Extend of
|
long
|
Return value
|
long
|
Prototype
|
event long pfc_populate(long)
|
event pfc_populate;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_Populate
//
// Arguments:
// al_parent The handle to the Treeview item to place retrieved data under
//
// Returns: Long
// # of items treeview was populated with
// 0 if nothing was populated
// -1 = error
//
// Description:
// retrieves the datasource and uses it to load the treeview with data
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// check arguments
IF (al_parent < 0) or IsNull(al_parent) then Return -1
// add the treeview data
Return this.of_populate(al_parent)
end event