Jump to content

Add setStep public function to TW3EditBox

Recommended Posts

When TW3EditBox control's InputType = iNumber, the only public members for controlling the type of Number (Integer vs Float) are:
 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


How about adding: 


 procedure setStep(const aValue: Variant); virtual;


and any needed code to make it work for creating Edit Boxes that take floating point values


Then you could add







Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now