DelphiDelphiVCLPythonPython GUIWindows

Learn About DelphiVCL.SpeedButton

featuredimage2 4

DelphiVCL.SpeedButton or TSpeedButton is a button that is used to execute commands or set modes.

Use DelphiVCL.SpeedButton to add a button to a group of buttons in a form. TSpeedButton introduces properties that can be used to set graphical images that represent the different button states (selected, unselected, disabled, and so on). Use other properties to specify multiple images or to rearrange the images and text on the button. TSpeedButton also introduces properties that allow speed buttons to work together as a group. Speed buttons are commonly grouped in panels to create specialized toolbars and tool palettes.

The recommended way to implement the button’s response when the user clicks it is to assign an action from an action list as the value of the Action property. By setting the Action property, you make the button a client of the action, and the action handles update the button’s properties and respond when the user clicks the button.

If you are not using an action to respond when the user clicks the button, then you can specify the button’s response by writing an OnClick event handler.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.SpeedButton using dir() command:

See the responses in our Windows command prompt:

0dir-4807349

You can also read short information about the DelphiVCL.SpeedButton using the print() command:

See the responses in our Windows command prompt:

0print-2036219

 

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

close
Related posts
Python GUI

Is Python a Scripting Language or a Programming Language?

Python

Embrace The Power Of Brand New Python 3.11 Features

Python

How To Exit A Python Script

CodeLearn PythonPythonWindows

How To Add Python Testing Tools Into Pandas Machine Learning Code

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.

fr_FRFrench