TNBPages class
Implements a list of pages used in TCustomTabControl.
Declaration
TNBPages = class(TNBBasePages)Inheritance
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
PageList | protected | List with the TCustomPage instances for the class instance. |
Notebook | protected | Provides a reference to the control which owns the pages. |
Methods
Get | protected | Implements read access to values for the Strings property. |
GetCount | protected | Gets the value for the Count property. |
GetObject | protected | Gets the value for the indexed Objects property. |
Put | protected | Re-implements the method used to store a string value at a specified position in the list. |
IndexOfPage | protected | Gets the position in PageList for the specified page. |
InsertPage | protected | Inserts a page instance at the specified position in the page list. |
DeletePage | protected | Deletes the page stored at the specified position in the page list. |
GetPage | protected | Gets the page stored at the specified position in PageList. |
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Clear | public | Removes all pages stored in the class instance. |
Delete | public | Deletes the page stored at the specified position in the page list. |
Insert | public | Inserts a new page with the given name at the specified position in PageList. |
Move | public | Moves 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.
