n9mfk9 Posted December 10, 2004 Posted December 10, 2004 hello can @mday be set as the defualt in a gui combobox also is there a whay to set a gui input box to only except text thamk for all help beau
this-is-me Posted December 10, 2004 Posted December 10, 2004 GUICtrlCreateCombo(@mday bla bla bla... For only accepting text, just filter out what you don't need after reading the return from the input. Who else would I be?
Developers Jos Posted December 10, 2004 Developers Posted December 10, 2004 hello can @mday be set as the defualt in a gui comboboxalso is there a whay to set a gui input box to only except textthamk for all helpbeau<{POST_SNAPBACK}>$Mdays = "" For $x = 2 to 30 $Mdays = $Mdays & $x & "|" Next $Mdays = $Mdays & "31" GUICtrlCreateCombo ("1", 10,10); create first item GUICtrlSetData(-1,$Mdays,@MDAY") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
n9mfk9 Posted December 10, 2004 Author Posted December 10, 2004 $Mdays = "" For $x = 2 to 30 $Mdays = $Mdays & $x & "|" Next $Mdays = $Mdays & "31" GUICtrlCreateCombo ("1", 10,10); create first item GUICtrlSetData(-1,$Mdays,@MDAY")<{POST_SNAPBACK}>hi i tried the coe an got aerror line 7 sting missing closing quote what did i miss beau
layer Posted December 10, 2004 Posted December 10, 2004 ... just take away the " in this line GUICtrlSetData(-1,$Mdays,@MDAY") <-------- that " sign, take that out that should work.. FootbaG
n9mfk9 Posted December 11, 2004 Author Posted December 11, 2004 hi i tried the coe an got aerror line 7 sting missing closing quote what did i miss beau<{POST_SNAPBACK}>i tried running this $Mdays = ""For $x = 2 to 30 $Mdays = $Mdays & $x & "|"Next$Mdays = $Mdays & "31"GUICtrlCreateCombo ("1", 10,10)GUICtrlSetData(-1,$Mdays,@MDAY)i goot error line 6 GUICtrlCreateCombo ("1", 10,10) unknown function name what am i misssing i running winows xp
Josbe Posted December 11, 2004 Posted December 11, 2004 ...i goot error line 6 GUICtrlCreateCombo ("1", 10,10) unknown function name what am i misssing i running winows xp<{POST_SNAPBACK}>You need the unstable version. ('autoit-v3.0.103.exe', the installer) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
Developers Jos Posted December 11, 2004 Developers Posted December 11, 2004 (edited) i tried running this $Mdays = ""For $x = 2 to 30 $Mdays = $Mdays & $x & "|"Next$Mdays = $Mdays & "31"GUICtrlCreateCombo ("1", 10,10)GUICtrlSetData(-1,$Mdays,@MDAY)i goot error line 6 GUICtrlCreateCombo ("1", 10,10) unknown function name what am i misssing i running winows xp<{POST_SNAPBACK}>My guess is that the next questions will be: Nothing is shown, any idea why?In other words, The way your question was phrased, i assumed you have basic knowledge about AutoIt3 and cretaing a GUI. Edited December 11, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
n9mfk9 Posted December 11, 2004 Author Posted December 11, 2004 My guess is that the next questions will be: Nothing is shown, any idea why?In other words, The way your question was phrased, i assumed you have basic knowledge about AutoIt3 and cretaing a GUI. <{POST_SNAPBACK}>here a gui i cme up wit that works i like to det @mday se the deffualt of the combobox EnvSet("GUI","title=My InputBox Title|focus=2|action=1|file=races.ini")EnvSet("OBJ1","type=label|text=date")Envset("OBJ2","type=combo|x=25|y=1|w=35|data=01;02;03;04;05;06;07;08;09;10;11;12;13;14;16;16;17;18;19;20;21;22;23;24;25;26;27;28;29;30;31")EnvSet("OBJ3","type=label|text=Number of copys|x=5|y=30|w=80|h=20")$ES_NUMBER = 0x2000EnvSet("OBJ4","type=input|text=5|x=90|y=30|w=25|h=20|style=" & $ES_NUMBER)EnvSet("OBJ5","type=button|text=&Submit|x=160|y=250|submit=1|close=1")RunWait("au3guixp")
Josbe Posted December 11, 2004 Posted December 11, 2004 What you wish to work with au3guixp or autoit-v3.0.103 syntax? AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
n9mfk9 Posted December 11, 2004 Author Posted December 11, 2004 What you wish to work with au3guixp or autoit-v3.0.103 syntax? <{POST_SNAPBACK}>does 103 ork better then guixp i did not know 103 was out
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