TUNBPages.Move procedure
Moves the active page to a position in the page list.
Declaration
procedure Move(CurIndex: Integer; NewIndex: Integer); overrideDescription
Move is an overridden procedure in
TUNBPages. It
re-implements the method defined in the
TStrings ancestor class.
Move is used to relocate the active page in a NoteBook control to a new
position in the page list.
Move uses the internal TNotebook member that is the owner of the
class instance to retrieve the current page and its ordinal position.
CurIndex is set to the
PageIndex for the active page in
the Notebook component.
NewIndex specifies the new ordinal
position in the page list for the
TPage instance.
The Move method in the internal page list (TObjectList) is called to move the TPage instance from using the required positions. The PageIndex for the TNotebook control is reset to re-activate the page moved in the operation.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
