oren Posted April 28, 2009 Posted April 28, 2009 (edited) I need to check if the input data is a number and I cant make it work Global $sleep = GUICtrlCreateInput(10,90,120) global $time1 =GUICtrlCreateLabel("",190,120,50,20) $temp =GUICtrlRead($sleep) MsgBox(1,$temp,IsNumber($temp)) I get 0 in the massage box what am I doing wrong? Edited April 28, 2009 by oren
ChangMinYang Posted April 28, 2009 Posted April 28, 2009 I need to check if the input data is a number and I cant make it work Global $sleep = GUICtrlCreateInput(10,90,120) global $time1 =GUICtrlCreateLabel("",190,120,50,20) $temp =GUICtrlRead($sleep) MsgBox(1,$temp,IsNumber($temp))
Valuater Posted April 28, 2009 Posted April 28, 2009 This will negate the problem #include <EditConstants.au3> Global $sleep = GUICtrlCreateInput(10,90,120, 20, $ES_NUMBER) 8)
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