ame1011 Posted January 4, 2008 Share Posted January 4, 2008 Hi I'm trying to set the data in an input to "00000". However, that string somehow gets converted to '0' and that's what is written to the input. I tried using String("00000") and StringFormat(%s, "00000") but neither worked. Any ideas? [font="Impact"] I always thought dogs laid eggs, and I learned something today. [/font] Link to comment Share on other sites More sharing options...
Nahuel Posted January 4, 2008 Share Posted January 4, 2008 Well... this sends "0000" #include <GUIConstants.au3> $Form1 = GUICreate("Form1", 257, 152, 193, 115) $Input1 = GUICtrlCreateInput("", 56, 60, 129, 21) GUISetState(@SW_SHOW) GUICtrlSetData($Input1,"00000") While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd What kind of input are you working with? 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