[Overview][Types][Classes][Procedures and functions][Index] |
Creates a new page instance with the specified name.
Source position: extctrls.pp line 109
public function TUNBPages.Add( |
const S: string |
):Integer; override; |
S |
|
Name for the page added in the method. |
Ordinal position where the page object was stored.
Add is an overridden Integer function used to create a new TPage instance with the name specified in S. The page object is created using the return value from GetNotebookOwner as the owner of the class instance. Add calls the AddObject method to store the page object in the list of pages for the notebook.
The return value contains the ordinal position in the page list where the page object was stored.
Version 4.0 | Generated 2025-05-03 | Home |