1

When TW3EditBox control's InputType = iNumber, the only public members for controlling the type of Number (Integer vs Float) are:

public
 procedure setMin(const aValue: Variant); virtual;
 procedure setMax(const aValue: Variant); virtual;
 procedure setRange(const aValue: Variant); virtual;

However, there is nothing for the Step, if one wants to create Edit Boxes that take floating points

e.g.

public
 procedure setStep(const aValue: Variant); virtual;

How do you do floating point values in edit boxes?

John
  • 507
  • 3
  • 13

1 Answers1

-1

You can set the step like this:

w3_setAttrib(NumEdit.Handle, 'step', 0.5);
LundinCast
  • 9,412
  • 4
  • 36
  • 48