eva/3 Application BuilderDeveloping eva/3 ApplicationsWorking with FormsStandard Beans 

SLabel

Fig. 156: SLabel Icons
Fig. 156: SLabel Icons

The SLabel can diaplay text and images on the user interface. So it can be used as marking of other components and for the presentation of pictures. With the use of Macros and Commandsit can influence the behavior of the application.

The text will be specified by the property Text, the text color by the property Foreground. The properties Underlined and RolloverUnderlined define, whether the text will be displayed underlined. The values differ when the mouse pointer is over the SLabel.

By double click on the SLabel element in the design window, the property Text can be edited directly in the design window.

The property Icon, DisabledIcon and RolloverIcon specify an image, that will be displayed, depending on the state of the SLabel. If DisabledIcon and RolloverIcon have no value, the value from Icon is taken. The property SizeMode defines, how the image adjusts its dimensions depending on the size of the SLabel.

The properties HorizontalTextAlignment and VerticalTextAlignment define how icon and text are alligned by each other.

Fig. 157: different settings for horizontaltextalignment andVerticalTextAlignment
Fig. 157: different settings for horizontaltextalignment andVerticalTextAlignment

The property LabelForComponentName defines, wich component gains the focus, when the SLabel was clicked by the mouse. Herefor the Bean Selection dialog will be provided.

The SLabel can only interact with other components by Macros or Commands. It is not possible to connect to a data source by a STableElement.