Slider

Slider allows users to input or display numeric values by changing the position of a slider on a scale. It is a space with a slider inside which the user can move thus selecting a value from the previously specified range.

Slider inserted in a Grid panel as seen in Lycia Form Designer

Form XML code:

<Slider dataType="Integer,,,," minValue="0" maxValue="100" visible="true" identifier="f1"/>

Theme element filter XML code:

<ElementFilter ElementName="Slider">

   ...

</ElementFilter>

CSS element selector code:

qx-aum-slider

Most commonly used form properties:

classnames

identifier

horizontalAlignment

verticalAlignment

preferredSize

maxValue

minValue

step

Most commonly used theme properties:

Background

New Background

Fill Color

Background Image

Background Style

Size

Location

Margin

Padding

Associated 4gl syntax:

DISPLAY

INPUT 

Inheritance diagram:

 

Associated ui methods:

SetOrientation

GetOrientation

SetStep

GetStep

Influence and behavior:

To add a Slider to your form, you

Step 1. Choose a Slider from the widgets palette by left-clicking its icon.

Step 2. Select the place in the form where you want to put the Slider.

Step 3. Left-click the selected spot (cell or sector) to place the Slider there.

Step 4. The Slider is now added to your form, and you can see it in the Structure view.

 

You can change appearance properties of a Slider in Lycia Form Designer. However, we recommend applying appearance properties via user themes and css.

Here we change the cursor for the slider.

property applied in the user theme:

theme XML code:

runtime appearance:

 

Contact Us

Privacy Policy

Copyright © 2024 Querix, (UK) Ltd.