Products Downloads


French version


 

How to use the Spin object with the Entry field object:

  1. Place your entry field and specify its Adelia type (any except "Alpha").

  2. Place the Spin button.

  3. In the Styles – Positions tab of the Object properties dialog box, check the Attachment box.

  4. Also, if you wish that the spin button stick to the entry field (in test mode or execution mode), specify its Place: "Right" or "Left".

  5. In the Extended styles tab, specify the spin button's Adelia type (which must be identical to the entry field's type), as well as the Minimum/Maximum values and the increment Step.

 

Warning: The ATTACHMENT property will not work unless the spin button is placed just after the entry field it is associated with (when sequencing the window's graphical objects).

In this case (if the Attachment box is checked), the values in the entry field will go up or down without you having to change the 4GL source; indeed, you will not have to manage the "Up" and "Down" events in the source code.