Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.
SalNumber TreeListBeginLoad( )
The TreeListBeginLoad method prepares the list box for bulk loading of nodes. Applications should call this method before inserting a potentially large number of nodes in the list.
This method does not return a value.
Calling this method will among other things turn off screen repainting to increase performance while inserting nodes. It is however essential to call TreeListEndLoad when all nodes have been inserted to turn screen repainting back on. If this is forgotten the list will not repaint and will appear to have "frozen".
lbCompanyList.TreeListBeginLoad();
...<insert lot's of nodes>...
lbCompanyList.TreeListEndLoad();