TNBPages.Clear procedure
Removes all pages stored in the class instance.
Declaration
procedure Clear; overrideDescription
Clear is an overridden method in
TNBPages used to remove
all of the
TCustomPage instances in
PageList. Pages are
deleted (in reverse order) by calling the Delete method, but the active page
is skipped to avoid activating other pages in the process. The active page is
deleted last.
The inherited Clear method is not called in the implementation.
Modified in LCL version 2.2.6 to avoid OnChanging and OnChange events when pages are deleted.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
