Dollar value

Started by seckner, October 31, 2013, 05:53:56 PM

Previous topic - Next topic


Is there a way to set an edit box (or any other) control to only accept dollar values? 


The editbox control supports the numbers only Style. However to limit the format of the number to two decimal will require a bit more code. You will need to create a Dynamical Dialog Procedure to monitor user input in the control. Here are a few different code samples that should help get you started:

Simple input validation sample:

Complex input validation sample:
Deana F.
Technical Support
Wilson WindowWare Inc.