Site icon Python GUI

Using DelphiVCL.TabSheet to Create a Tabbed Page

code projected over woman

DelphiVCL.TabSheet is an individual page in a PageControl object.

We use TabSheet to represent a single page in tabbed page control. Tab sheets are typically referred to as pages. PageControl maintains an indexed array of its tab sheets in its Pages property. Users can click on a tab to activate the tab sheet.

You can use the Caption property of the TabSheet control to define an accelerator key to a page of the PageControl.

We can browse all the properties, methods, and built-in properties of the DelphiVCL.TabSheet using dir() command:

[crayon-6606e2744a0d7957065856/]

See the responses in command prompt:

Here is the working example of the implementation of DelphiVCL.TabSheet:

[crayon-6606e2744a0e1440182505/]

To see the result, let’s run the complete script:

[crayon-6606e2744a0e4978910121/]

The result:

 

Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Watch this comprehensive introduction to Python GUI Development with DelphiVCL library video by Jim McKeeth:

Exit mobile version