Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL Programmers Reference > Verbs

change tick size and change tick text

Scroll Prev Top Next More

Action Statement

Change the size or text of a tick on a slider's scale.

change SLIDER_NAME tick TICK_POS [size|text]

to [TICK_SIZE|TICK_TEXT]

SLIDER_NAME

The identifier for a slider.

tick TICK_POS

An integer value representing the position of the tick on the slider's scale.

size to TICK_SIZE

An integer value representing the size of the tick in dialog units.

text to TICK_TEXT

An string value representing the text for the tick's label.

Description

Use this statement to change either the size or text of a tick mark in a slider's scale.

Though tick marks cannot be deleted, setting a tick's size to 0 and a tick's text to the null string will visually accomplish deletion.

If the program is compiled with external strings, then any string literals used in this statement will be externalized.

Example

 

action SetupTemperatureDB_ACT is

 change Temperature_SL tick 32 size to 7

 change Temperature_SL tick 32 text to "Freeze"

 ....

See Also

slider Definition