Creating buttons

helps select table of contents previous Oben next german version

Demo_336_UsrManagement as an exampleSetting up a user managementPagesUser managementCreating buttons

 

Four buttons are required for the user management. They are each realised in the form of a touch field with graphics list and 2 image objects (button normal, button pressed). Functions are then allocated to each touch field for carrying out the required actions.

 

To avoid having to create 2 individual image objects for each language, the text on the buttons were created via a text list. On this list, the titles of the available languages are defined.

 

Button:

Title:

Application:

BtLbl_Exit

Exit

Exit

etc.

Serves the creation of titles in various languages.

BtLbl_ShowUsers

User

Users

etc.

BtnLbl_PwSet

Change

Change

etc.

BtnLbl_UsrDelete

Delete

Delete

etc.

 

Button:

Application:

Function:

Btn_Cancel

Exit user management without saving changes.

Selecting a screen page [OperationMenu]

Btn_Users

Creates a new user with the current data in the user management.

Creating a new user

Btn_ChangeUser

Saves the changes to an existing user to the user management.

Change user

Btn_UsrDelete

Deletes the currently selected user from the user management.

Delete user

 

Button normal

Button pressed

Btn_Object_r

Btn_Object_p

Btn_Object_r.gif

Btn_Object_p.gif

 

The button's graphics were dimensioned such that they fit exactly into the gap in the input screen, and were integrated into the graphics list of the touch fields.

 

Although the text lists of the inscriptions can be positioned onto the button, they will disappear as soon as the button comes into focus by being clicked on. The reason for this is that the image object moves to the foreground, thus positioning the text list behind it.

 

See also:

 

Kapitelseite Creating touch fields for buttons

 

 

<< return