Sign in Join
FPDoc Onlineexperiment

TUNBPages class

In unit ExtCtrls

Represents page names and page class instances for a notebook.

Declaration

pascal
TUNBPages = class(TStrings)

Inheritance

  1. TUNBPages
  2. TStrings
  3. TPersistent
  4. 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

GetprotectedGets the name for the page stored at the specified position in the list of pages.
GetCountprotectedGets the number of pages defined in the page list.
GetObjectprotectedGets the TPage class instance stored at the specified ordinal position in the page list.
PutprotectedEnsures that the index value is valid before accessing the TPage object.
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
AddpublicCreates a new page instance with the specified name.
AddObjectpublicAdds the specified page object to the list of pages.
ClearpublicRemoves all page objects stored in the list of pages.
DeletepublicDeletes the page at the specified position in the list of pages.
IndexOfObjectpublicGets the ordinal position for the specified page object in the list of pages.
InsertpublicInserts a page with the specified name at the given position in the list of pages.
MovepublicMoves 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.