Jump to content

Recommended Posts

Posted

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.

Posted

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)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...