Felix Posted July 7, 2008 Share Posted July 7, 2008 Hi, I want to create a updown arrow, but i do not want a thousands seperator to appear when clicking on the updown arrows. I tried to set the style option nothousands but it doesn't seem to work. When clicking on the updown arrows I still get a thousands seperator. In my script I've included: #include <GUIconstantsEx.au3> #include <WindowsConstants.au3> #include <ProgressConstants.au3> #include <UpdownConstants.au3> I've tried this: $IN = GUICtrlCreateInput("20000", 20, 225, 60, 20) GUICtrlCreateUpdown($IN) GuiCtrlSetStyle(-1, $UDS_NOTHOUSANDS) and this: $IN = GUICtrlCreateInput("20000", 20, 225, 60, 20) $UD_IN = GUICtrlCreateUpdown($IN) GuiCtrlSetStyle($UD_IN, $UDS_NOTHOUSANDS) and this: $IN = GUICtrlCreateInput("20000", 20, 225, 60, 20) GUICtrlCreateUpdown($IN) GuiCtrlSetStyle($IN, $UDS_NOTHOUSANDS) Anyone knows what I'm doing wrong? Thanks in advance. John. Link to comment Share on other sites More sharing options...
Lemmens Peter Posted July 7, 2008 Share Posted July 7, 2008 The answer is simple, just try I added $UDS_ARROWKEYS so it will also react on the buttons "up" and "down" GUICtrlCreateUpdown($Up_down_button,BitOr($UDS_ARROWKEYS,$UDS_NOTHOUSANDS)) Good luck, Peter Link to comment Share on other sites More sharing options...
Felix Posted July 7, 2008 Author Share Posted July 7, 2008 This fixed my problem muttley Thanks Peter, very much thanks. John Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now