Text button

Previous chapterNext chapter Show allShow all    Hide allHide all

First we will create buttons for our button bar BB-Start to switch between the pictures Start Pic and Hall.

 

The dialog box for selecting functions opens automatically after you release the mouse button.

 

The dialog for the definition of the key combination opens.

In the Runtime, you can now execute the function either by clicking the button or by pressing the key combination.

 

Example Example

Create a corresponding button for the picture Hall with the text Hall 1 and Alt 1 and the according key combination.

Create another button for the function Exit program with the text Exit and the key combination Alt+E.

 

info Info

We recommend to define a separate font for the text of the button and to use this font for all buttons in the project. If you want to change the size or any other attribute of the font at a later moment the changes will then be updated for all buttens automatically.