[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTreeView.StoreCurrentSelection

Creates and fills a TStringList with the text for the selected nodes on the tree view control.

Declaration

Source position: comctrls.pp line 3722

public function TCustomTreeView.StoreCurrentSelection: TStringList;

Function result

TStringList instance with the selected nodes in the control.

Description

It is the responsibility of the calling routine to free the TStringList instance in the return value. Failure to do so will result in a memory leak.