[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TUNBPages.Get

Gets the name for the page stored at the specified position in the list of pages.

Declaration

Source position: extctrls.pp line 102

protected function TUNBPages.Get(

  Index: Integer

):string; override;

Arguments

Index

  

Ordinal position for the page requested in the method.

Function result

Name for the page at the specified position.

Description

Get is an overridden String function used to get the name for the page stored at the specified position in the list of pages.

Index contains the ordinal position in the page list for the requested page. Index must be a valid position in the page list or an Exception is raised. The return value contains the name assigned to the TPage instance stored at the specified position.

Errors

Calls RaiseGDBException to raise an exception when Index is not valid for the page list in the class instance. Raised with the exception message: 'TUNBPages.Get Index out of bounds'.


Version 4.0 Generated 2025-05-03 Home