Show TOC Entering content frame

Background documentation Properties of a Button Control Locate the document in its SAP Library structure

By modifying the values for the properties listed here, you design a button control for a specific context.

Button property

Action

Anchor

Leave this field blank. Buttons cannot be assigned a data source.

Button Image

If you want to customize this button control, then you need to associate the custom resource. For more information, see Working with the Resource Editor.

Button Type

(required)

Choose:

·        OK, Cancel, Search, Clear or Select, if you want to perform any one of these actions on a Choice, Find or Custom Popup tile. You do not need to write a script.
For example, on a query tile, you add Search and Clear buttons without writing a script.

·        Custom, if you want to write script to define specific behavior. The button triggers an onClicked event.

This graphic is explained in the accompanying text

Change the label of the button based on the button type.

Is Default

Set this value to true, if you want the button to be selected by default. This enables the user to press the Enter key to execute the button’s function, irrespective of where he or she is on the tile.

Note

There can be only one default button on a tile.

Label

(required)

Enter the text that to be displayed on the button.

Mode

(required)

Set the mode for the control.

If set to …

Then the user …

Normal

Can choose the button to perform an action.

Readonly

Sees a disabled button.

Hidden

Does not see the button.

Name

(required)

Enter a name for the button control with the assigned namespace. This name is used to access the control within the code.

Tab Order

Enter a number that represents the tabbing sequence. This number determines the order in which the user navigates between controls using the Tab key.

Top, Left, Bottom, Right

(required)

Set the coordinates based on the position of the control.

Note

You cannot change the value of the Bottom property. Its value is a fixed number and is always equal to the value of the Top property.

See also:

Defining a Button Control

 

Leaving content frame