TUNBPages class
Represents page names and page class instances for a notebook.
Declaration
TUNBPages = class(TStrings)Inheritance
- TUNBPages
- TStrings
- TPersistent
- TObject
Description
TUNBPages is a
TStrings descendant used to represent
the names,
TPage instances, and the owner class in
TNotebook. TUNBPages extends the ancestor class by providing
overridden methods needed to add, insert, delete and locate pages with a
specified name or TPage class instance.
TUNBPages is used in the implementation of the TNotebook class.
See also
Methods
Get | protected | Gets the name for the page stored at the specified position in the list of pages. |
GetCount | protected | Gets the number of pages defined in the page list. |
GetObject | protected | Gets the TPage class instance stored at the specified ordinal position in the page list. |
Put | protected | Ensures that the index value is valid before accessing the TPage object. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Add | public | Creates a new page instance with the specified name. |
AddObject | public | Adds the specified page object to the list of pages. |
Clear | public | Removes all page objects stored in the list of pages. |
Delete | public | Deletes the page at the specified position in the list of pages. |
IndexOfObject | public | Gets the ordinal position for the specified page object in the list of pages. |
Insert | public | Inserts a page with the specified name at the given position in the list of pages. |
Move | public | Moves the active page to a position in the page list. |
Inherited
From TStrings (83)
AddCommaText AddDelimitedtext AddPair AddStrings AddText AlwaysQuote Append Assign BeginUpdate Capacity CheckSpecialChars CommaText CompareStrings Contains ContainsName ContainsObject Count DefaultEncoding DefineProperties DelimitedText Delimiter DoCompareText Encoding EndUpdate Equals Error Exchange ExtractName Fill Filter ForEach GetCapacity GetDelimitedText GetEnumerator GetNameValue GetNextLine GetNextLinebreak GetText GetTextStr GetValueFromIndex IndexOf IndexOfName InsertObject LastIndexOf LineBreak LoadFromFile LoadFromStream Map MissingNameValueSeparatorAction Names NameValueSeparator Objects Options Pop PutObject QuoteChar Reduce Reverse SaveToFile SaveToStream SetCapacity SetDelimitedText SetStrings SetText SetTextStr SetUpdateState SetValueFromIndex Shift SkipLastLineBreak Slice StrictDelimiter Strings StringsAdapter Text TextLineBreakStyle ToObjectArray ToStringArray TrailingLineBreak UpdateCount UseLocale ValueFromIndex Values WriteBOM
From TPersistent (6)
AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (39)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
