TCustomTabControl.TabRect function
Gets the client rectangle for the specified tab adjusted to the parent.
Declaration
function TabRect(AIndex: Integer): TRectFunction result
TRect instance with the client rectangle for the specified tab.
Description
TabRect is a
TRect function used to get the rectangle
for the tab specified in the AIndex argument.
TabRect calls the GetTabRect in the widget instance to get the return value for the method. The values in the rectangle are adjusted to reflect the client coordinates relative to the Parent for the control.
If the handle has not been allocated for the widget, the return value is a rectangle where the Left, Top, Bottom, and Right members are all set to -1.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
