DelphiDelphiVCLLearn PythonPythonPython GUIWindows

How To Automatically Manage the Layout of Toolbar Components

How To Automatically Manage the Layout of Toolbar Components

The DelphiVCL.ControlBar manages the layout of toolbar components as part of a low code application platform. With components like the controlbar in the DelphiVCL the amount of code you actually have to write is greatly reduced and often avoided altogether.

Use DelphiVCL.ControlBar as a docking site for toolbar components. Control bars contain child controls (usually TToolBar objects) that can be moved and resized independently. As with a cool bar, each child control resides on its band that the user positions by dragging its sizing grip.

Note: If you want to use TActionToolBar on a TControlBar component, you should set the AutoSize property to False. When the AutoSize property is set to True (default), the TActionToolBar control wraps its controls and expands itself in size, accordingly. This does not allow the TActionToolBar component to display properly on a TControlBar component. When the AutoSize property is set to False, the TActionToolBar hides items on the end of the bar and displays a dropdown button that provides access to those items. The control displays in the proper size.

Let’s browse all the properties and methods of the DelphiVCL.ControlBar using dir() command:

See the responses in our Windows command prompt:

0dir-2692718

You can also read short informations about the DelphiVCL.ControlBar using the print() command:

See the responses in our Windows command prompt:

0print-3803455

 

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

close
Related posts
Learn PythonPythonPython GUIVideos

This Is How To Create A Python Gui With PyQt5

Python GUI

What Are Python Debugging Tools: A Simple Definition

Learn PythonPythonPython GUIVideos

How To Make A Python GUI For An ATM System

Python

10 Resources That'll Make You Better At Python Programming Software

Deixe uma resposta

O seu endereço de e-mail não será publicado.

pt_BRPortuguese