Sign in to follow this  
Followers 0
PartyPooper

Help with Numbers

2 posts in this topic

I'm using the GUICtrlCreateInput function with the $ES_NUMBER style and I can't seem to input anything but integers. I would like to be able to input fractions of numbers like 3.14159 as well but $ES_NUMBER doesn't accept a decimal point. I don't believe this is a bug so is there a way to input numbers only (including decimals)?

Also if this is not a bug, it may be prudent for the Help File to say as much. Something like:

$ES_NUMBER 0x2000 Accepts integers only (no fractions) into the edit control.

Share this post


Link to post
Share on other sites



I'm using the GUICtrlCreateInput function with the $ES_NUMBER style and I can't seem to input anything but integers. I would like to be able to input fractions of numbers like 3.14159 as well but $ES_NUMBER doesn't accept a decimal point. I don't believe this is a bug so is there a way to input numbers only (including decimals)?

Also if this is not a bug, it may be prudent for the Help File to say as much. Something like:

$ES_NUMBER 0x2000 Accepts integers only (no fractions) into the edit control.

for now the help file is just what is in the MS doc. To be in sync B)

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
Sign in to follow this  
Followers 0