cxlaterr Posted February 3, 2007 Posted February 3, 2007 My code: ============================================= for $i = 1 to $pri[0][0] GUICtrlCreateLabel($pri[$i][0], 8, 48+($i-1)*25, 60, 17) GUICtrlCreateLabel($pri[$i][1], 80, 48+($i-1)*25, 60, 17) GUICtrlCreateInput("", 192, 48+($i-1)*25, 60, 17) GUICtrlCreateInput("", 280, 48+($i-1)*25, 60, 17) GUICtrlCreateLabel("", 368, 48+($i-1)*25, 60, 17) Next ============================================= i want to give name to each one how to do it ? thanks
_Kurt Posted February 3, 2007 Posted February 3, 2007 By "give name", what do you mean? modifying the text inside the input/label? Declaring them as variables? Not sure what exactly you are asking for. Kurt PS: when posting autoit code, use autoit tags by using [.autoit] (your code here) [./autoit] <-- use that without the .'s Awaiting Diablo III..
MHz Posted February 3, 2007 Posted February 3, 2007 $handle = GUICtrlCreateInput("", 192, 48+($i-1)*25, 60, 17)
xcal Posted February 3, 2007 Posted February 3, 2007 9 min bump? o.O How To Ask Questions The Smart Way
Pakku Posted February 3, 2007 Posted February 3, 2007 My code: ============================================= for $i = 1 to $pri[0][0] GUICtrlCreateLabel($pri[$i][0], 8, 48+($i-1)*25, 60, 17) GUICtrlCreateLabel($pri[$i][1], 80, 48+($i-1)*25, 60, 17) GUICtrlCreateInput("", 192, 48+($i-1)*25, 60, 17) GUICtrlCreateInput("", 280, 48+($i-1)*25, 60, 17) GUICtrlCreateLabel("", 368, 48+($i-1)*25, 60, 17) Next ============================================= i want to give name to each one how to do it ? thanks dim $var[$pri[0][0] + 1][4 + 1] for $i = 1 to $pri[0][0] $var[$i][0] = GUICtrlCreateLabel($pri[$i][0], 8, 48+($i-1)*25, 60, 17) $var[$i][1] = GUICtrlCreateLabel($pri[$i][1], 80, 48+($i-1)*25, 60, 17) $var[$i][2] = GUICtrlCreateInput("", 192, 48+($i-1)*25, 60, 17) $var[$i][3] = GUICtrlCreateInput("", 280, 48+($i-1)*25, 60, 17) $var[$i][4] = GUICtrlCreateLabel("", 368, 48+($i-1)*25, 60, 17) Next what about this, didn't test it yet. Arjan How can someone use Windows without using AutoIt?That one would properly don't know how to handle a computer!My scripts:Send files over internetKind of RSS reader3Draw ProUDF: convert a character string to a binary one and backCalculate PiCommand line downloader (Youtube/Google video)Set the transparency of a window just by hitting a key!Secure your pcOther things:My filemanMy profilePM me
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