Sign in Join
FPDoc Onlineexperiment

TNBPages class

In unit ComCtrls

Implements a list of pages used in TCustomTabControl.

Declaration

pascal
TNBPages = class(TNBBasePages)

Inheritance

  1. TNBPages
  2. TNBBasePages
  3. TStrings
  4. TPersistent
  5. TObject

Description

TNBPages is a TNBBasePages descendant which implements a list of pages used in TCustomTabControl.

TNBPages extends the ancestor class to include properties for the TCustomTabControl which owns the list of pages (Notebook), and the internal list used to store the TCustomPage instances (PageList). It implements the abstract virtual methods defined in the ancestor, and provides additional methods to maintain the pages in PageList.

See also

Properties

PageListprotectedList with the TCustomPage instances for the class instance.
NotebookprotectedProvides a reference to the control which owns the pages.

Methods

GetprotectedImplements read access to values for the Strings property.
GetCountprotectedGets the value for the Count property.
GetObjectprotectedGets the value for the indexed Objects property.
PutprotectedRe-implements the method used to store a string value at a specified position in the list.
IndexOfPageprotectedGets the position in PageList for the specified page.
InsertPageprotectedInserts a page instance at the specified position in the page list.
DeletePageprotectedDeletes the page stored at the specified position in the page list.
GetPageprotectedGets the page stored at the specified position in PageList.
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
ClearpublicRemoves all pages stored in the class instance.
DeletepublicDeletes the page stored at the specified position in the page list.
InsertpublicInserts a new page with the given name at the specified position in PageList.
MovepublicMoves a page from the current index to a new position in PageList.

Inherited

From TStrings (86)

Add AddCommaText AddDelimitedtext AddObject 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 IndexOfObject 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.