I am having a problem with the %ES_NUMBER style in an
edit box control.
According to Microsoft's WIN32 Programmers Guide,
The ES_NUMBER style (available in version 4.0 or later)
restricts input to the edit control to digits only.
When I create a control using DDT, I can still type in
letters and the string variable received by CONTROL GET TEXT
does indeed contain those letters.
CONTROL ADD TEXTBOX hDlg,%IDText,0,0,100,12,%ES_NUMBER
Any thoughts? I am using the defaults which is supposed to
be Version 4.
edit box control.
According to Microsoft's WIN32 Programmers Guide,
The ES_NUMBER style (available in version 4.0 or later)
restricts input to the edit control to digits only.
When I create a control using DDT, I can still type in
letters and the string variable received by CONTROL GET TEXT
does indeed contain those letters.
CONTROL ADD TEXTBOX hDlg,%IDText,0,0,100,12,%ES_NUMBER
Any thoughts? I am using the defaults which is supposed to
be Version 4.
Comment