本帖最后由 半芯竹 于 2012-9-21 09:16 编辑
回复 1# drifter
#include <Array.au3>
#include <GUIConstantsEx.au3>
Local $FieldArray[1000][1000],$YY = 100
$MyGUI = GUICreate("", 800, 600, 0, 0)
For $Y = 1 to 333
$FieldArray[$Y][1] = GUICtrlCreateInput("", 100, $YY, 80, 20)
$FieldArray[$Y][2] = GUICtrlCreateInput("", 200, $YY, 80, 20)
$FieldArray[$Y][3] = GUICtrlCreateInput("", 300, $YY, 80, 20)
$FieldArray[$Y][4] = GUICtrlCreateInput("", 400, $YY, 80, 20)
$FieldArray[$Y][5] = GUICtrlCreateInput("", 500, $YY, 80, 20)
$FieldArray[$Y][6] = GUICtrlCreateInput("", 600, $YY, 80, 20)
$FieldArray[$Y][7] = GUICtrlCreateInput("", 700, $YY, 80, 20)
$FieldArray[$Y][8] = GUICtrlCreateInput("", 800, $YY, 80, 20)
$FieldArray[$Y][9] = GUICtrlCreateInput("", 900, $YY, 80, 20)
$FieldArray[$Y][10] = GUICtrlCreateInput("", 1000, $YY, 80, 20)
$FieldArray[$Y][11] = GUICtrlCreateInput("", 1100, $YY, 80, 20)
$FieldArray[$Y][12] = GUICtrlCreateInput("", 1200, $YY, 80, 20)
$FieldArray[$Y][13] = GUICtrlCreateInput("", 1300, $YY, 80, 20)
$FieldArray[$Y][14] = GUICtrlCreateInput("", 1400, $YY, 80, 20)
$FieldArray[$Y][15] = GUICtrlCreateInput("", 1500, $YY, 80, 20)
$FieldArray[$Y][16] = GUICtrlCreateInput("", 1600, $YY, 80, 20)
$FieldArray[$Y][17] = GUICtrlCreateInput("", 1700, $YY, 80, 20)
$FieldArray[$Y][18] = GUICtrlCreateInput("", 1800, $YY, 80, 20)
$FieldArray[$Y][19] = GUICtrlCreateInput("", 1900, $YY, 80, 20)
$FieldArray[$Y][20] = GUICtrlCreateInput("", 2000, $YY, 80, 20)
$FieldArray[$Y][21] = GUICtrlCreateInput("", 2100, $YY, 80, 20)
$FieldArray[$Y][22] = GUICtrlCreateInput("", 2200, $YY, 80, 20)
$FieldArray[$Y][23] = GUICtrlCreateInput("", 2300, $YY, 80, 20)
$FieldArray[$Y][24] = GUICtrlCreateInput("", 2400, $YY, 80, 20)
$FieldArray[$Y][25] = GUICtrlCreateInput("", 2500, $YY, 80, 20)
$FieldArray[$Y][26] = GUICtrlCreateInput("", 2600, $YY, 80, 20)
$FieldArray[$Y][27] = GUICtrlCreateInput("", 2700, $YY, 80, 20)
$FieldArray[$Y][28] = GUICtrlCreateInput("", 2800, $YY, 80, 20)
$FieldArray[$Y][29] = GUICtrlCreateInput("", 2900, $YY, 80, 20)
$FieldArray[$Y][30] = GUICtrlCreateInput("", 3000, $YY, 80, 20)
$FieldArray[$Y][31] = GUICtrlCreateInput("", 3100, $YY, 80, 20)
$FieldArray[$Y][32] = GUICtrlCreateInput("", 3200, $YY, 80, 20)
$FieldArray[$Y][33] = GUICtrlCreateInput("", 3300, $YY, 80, 20)
$FieldArray[$Y][34] = GUICtrlCreateInput("", 3400, $YY, 80, 20)
$FieldArray[$Y][35] = GUICtrlCreateInput("", 3500, $YY, 80, 20)
$FieldArray[$Y][36] = GUICtrlCreateInput("", 3600, $YY, 80, 20)
$FieldArray[$Y][37] = GUICtrlCreateInput("", 3700, $YY, 80, 20)
$FieldArray[$Y][38] = GUICtrlCreateInput("", 3800, $YY, 80, 20)
$FieldArray[$Y][39] = GUICtrlCreateInput("", 3900, $YY, 80, 20)
$FieldArray[$Y][40] = GUICtrlCreateInput("", 4000, $YY, 80, 20)
$FieldArray[$Y][41] = GUICtrlCreateInput("", 4100, $YY, 80, 20)
$FieldArray[$Y][42] = GUICtrlCreateInput("", 4200, $YY, 80, 20)
$FieldArray[$Y][43] = GUICtrlCreateInput("", 4300, $YY, 80, 20)
$FieldArray[$Y][44] = GUICtrlCreateInput("", 4400, $YY, 80, 20)
$FieldArray[$Y][45] = GUICtrlCreateInput("", 4500, $YY, 80, 20)
$YY += 30
Next
$btn = GUICtrlCreateButton("退出", 800, $YY +50, 80, 20)
GUISetState()
Do
$msg = GUIGetMsg()
Until $msg = $GUI_EVENT_CLOSE
|