Файл виз.редактора
Ни до доработки, ни после работать не хочет, вернее такое ощущение что просто луп висит, а диалог не отображается.
Сам код, после небольшой доработки, для читабельности (Отобразить)
CODE:
int pos_size_button3[2][4];
string text_button3[2];
int flag_button3[2];
pos_size_button3[0][0]=20; pos_size_button3[0][1]=286; pos_size_button3[0][2]=150; pos_size_button3[0][3]=20;
pos_size_button3[1][0]=20; pos_size_button3[1][1]=315; pos_size_button3[1][2]=250; pos_size_button3[1][3]=35;
text_button3[0]="Загрузить"; text_button3[1]="Сохранить";
//////////
int pos_size_edit3[12][4];
string text_edit3[12];
pos_size_edit3[0][0]=70; pos_size_edit3[0][1]=50; pos_size_edit3[0][2]=100; pos_size_edit3[0][3]=20;
pos_size_edit3[1][0]=70; pos_size_edit3[1][1]=80; pos_size_edit3[1][2]=100; pos_size_edit3[1][3]=20;
pos_size_edit3[2][0]=250; pos_size_edit3[2][1]=50; pos_size_edit3[2][2]=100; pos_size_edit3[2][3]=20;
pos_size_edit3[3][0]=250; pos_size_edit3[3][1]=80; pos_size_edit3[3][2]=100; pos_size_edit3[3][3]=20;
pos_size_edit3[4][0]=70; pos_size_edit3[4][1]=140; pos_size_edit3[4][2]=100; pos_size_edit3[4][3]=20;
pos_size_edit3[5][0]=70; pos_size_edit3[5][1]=170; pos_size_edit3[5][2]=100; pos_size_edit3[5][3]=20;
pos_size_edit3[6][0]=250; pos_size_edit3[6][1]=140; pos_size_edit3[6][2]=100; pos_size_edit3[6][3]=20;
pos_size_edit3[7][0]=250; pos_size_edit3[7][1]=170; pos_size_edit3[7][2]=100; pos_size_edit3[7][3]=20;
pos_size_edit3[8][0]=70; pos_size_edit3[8][1]=230; pos_size_edit3[8][2]=100; pos_size_edit3[8][3]=20;
pos_size_edit3[9][0]=70; pos_size_edit3[9][1]=260; pos_size_edit3[9][2]=100; pos_size_edit3[9][3]=20;
pos_size_edit3[10][0]=250; pos_size_edit3[10][1]=230; pos_size_edit3[10][2]=100; pos_size_edit3[10][3]=20;
pos_size_edit3[11][0]=250; pos_size_edit3[11][1]=260; pos_size_edit3[11][2]=100; pos_size_edit3[11][3]=20;
text_edit3[0]="Поле 0"; text_edit3[1]="Поле 1"; text_edit3[2]="Поле 2"; text_edit3[3]="Поле 3";
text_edit3[4]="Поле 4"; text_edit3[5]="Поле 5"; text_edit3[6]="Поле 6"; text_edit3[7]="Поле 7";
text_edit3[8]="Поле 8"; text_edit3[9]="Поле 9"; text_edit3[10]="Поле 10"; text_edit3[11]="Поле 11";
//////////
int pos_size_static3[18][4];
string text_static3[18];
pos_size_static3[0][0]=20; pos_size_static3[0][1]=50; pos_size_static3[0][2]=30; pos_size_static3[0][3]=20;
pos_size_static3[1][0]=20; pos_size_static3[1][1]=80; pos_size_static3[1][2]=30; pos_size_static3[1][3]=20;
pos_size_static3[2][0]=200; pos_size_static3[2][1]=50; pos_size_static3[2][2]=30; pos_size_static3[2][3]=20;
pos_size_static3[3][0]=200; pos_size_static3[3][1]=80; pos_size_static3[3][2]=30; pos_size_static3[3][3]=20;
pos_size_static3[4][0]=20; pos_size_static3[4][1]=140; pos_size_static3[4][2]=30; pos_size_static3[4][3]=20;
pos_size_static3[5][0]=20; pos_size_static3[5][1]=170; pos_size_static3[5][2]=30; pos_size_static3[5][3]=20;
pos_size_static3[6][0]=200; pos_size_static3[6][1]=140; pos_size_static3[6][2]=30; pos_size_static3[6][3]=20;
pos_size_static3[7][0]=200; pos_size_static3[7][1]=170; pos_size_static3[7][2]=30; pos_size_static3[7][3]=20;
pos_size_static3[8][0]=20; pos_size_static3[8][1]=230; pos_size_static3[8][2]=30; pos_size_static3[8][3]=20;
pos_size_static3[9][0]=20; pos_size_static3[9][1]=260; pos_size_static3[9][2]=30; pos_size_static3[9][3]=20;
pos_size_static3[10][0]=200; pos_size_static3[10][1]=230; pos_size_static3[10][2]=42; pos_size_static3[10][3]=20;
pos_size_static3[11][0]=200; pos_size_static3[11][1]=260; pos_size_static3[11][2]=100; pos_size_static3[11][3]=20;
pos_size_static3[12][0]=200; pos_size_static3[12][1]=290; pos_size_static3[12][2]=100; pos_size_static3[12][3]=20;
pos_size_static3[13][0]=300; pos_size_static3[13][1]=290; pos_size_static3[13][2]=100; pos_size_static3[13][3]=15;
pos_size_static3[14][0]=300; pos_size_static3[14][1]=305; pos_size_static3[14][2]=100; pos_size_static3[14][3]=15;
pos_size_static3[15][0]=300; pos_size_static3[15][1]=320; pos_size_static3[15][2]=100; pos_size_static3[15][3]=20;
pos_size_static3[16][0]=301; pos_size_static3[16][1]=335; pos_size_static3[16][2]=100; pos_size_static3[16][3]=20;
pos_size_static3[17][0]=130; pos_size_static3[17][1]=10; pos_size_static3[17][2]=200; pos_size_static3[17][3]=20;
text_static3[0]="Login"; text_static3[1]="Pass"; text_static3[2]="Login"; text_static3[3]="Pass";
text_static3[4]="Login"; text_static3[5]="Pass"; text_static3[6]="Login"; text_static3[7]="Pass";
text_static3[8]="Login"; text_static3[9]="Pass"; text_static3[10]="Login"; text_static3[11]="Pass";
text_static3[12]="из Txt файла вида:"; text_static3[13]="login"; text_static3[14]="pass";
text_static3[15]="login"; text_static3[16]="pass"; text_static3[17]="TEST";
//////////
createdialog(3, BUTTON, #pos_size_button3[0][0], #text_button3[0], #flag_button3[0] |
EDIT, #pos_size_edit3[0][0], #text_edit3[0] |
STATIC, #pos_size_static3[0][0], #text_static3[0]);
//////////
showdialog(3, "Диалог", 504, 159, 380, 400, 1, 1);
//////////
loop() sleep(100);//Убрать после теста
string text_button3[2];
int flag_button3[2];
pos_size_button3[0][0]=20; pos_size_button3[0][1]=286; pos_size_button3[0][2]=150; pos_size_button3[0][3]=20;
pos_size_button3[1][0]=20; pos_size_button3[1][1]=315; pos_size_button3[1][2]=250; pos_size_button3[1][3]=35;
text_button3[0]="Загрузить"; text_button3[1]="Сохранить";
//////////
int pos_size_edit3[12][4];
string text_edit3[12];
pos_size_edit3[0][0]=70; pos_size_edit3[0][1]=50; pos_size_edit3[0][2]=100; pos_size_edit3[0][3]=20;
pos_size_edit3[1][0]=70; pos_size_edit3[1][1]=80; pos_size_edit3[1][2]=100; pos_size_edit3[1][3]=20;
pos_size_edit3[2][0]=250; pos_size_edit3[2][1]=50; pos_size_edit3[2][2]=100; pos_size_edit3[2][3]=20;
pos_size_edit3[3][0]=250; pos_size_edit3[3][1]=80; pos_size_edit3[3][2]=100; pos_size_edit3[3][3]=20;
pos_size_edit3[4][0]=70; pos_size_edit3[4][1]=140; pos_size_edit3[4][2]=100; pos_size_edit3[4][3]=20;
pos_size_edit3[5][0]=70; pos_size_edit3[5][1]=170; pos_size_edit3[5][2]=100; pos_size_edit3[5][3]=20;
pos_size_edit3[6][0]=250; pos_size_edit3[6][1]=140; pos_size_edit3[6][2]=100; pos_size_edit3[6][3]=20;
pos_size_edit3[7][0]=250; pos_size_edit3[7][1]=170; pos_size_edit3[7][2]=100; pos_size_edit3[7][3]=20;
pos_size_edit3[8][0]=70; pos_size_edit3[8][1]=230; pos_size_edit3[8][2]=100; pos_size_edit3[8][3]=20;
pos_size_edit3[9][0]=70; pos_size_edit3[9][1]=260; pos_size_edit3[9][2]=100; pos_size_edit3[9][3]=20;
pos_size_edit3[10][0]=250; pos_size_edit3[10][1]=230; pos_size_edit3[10][2]=100; pos_size_edit3[10][3]=20;
pos_size_edit3[11][0]=250; pos_size_edit3[11][1]=260; pos_size_edit3[11][2]=100; pos_size_edit3[11][3]=20;
text_edit3[0]="Поле 0"; text_edit3[1]="Поле 1"; text_edit3[2]="Поле 2"; text_edit3[3]="Поле 3";
text_edit3[4]="Поле 4"; text_edit3[5]="Поле 5"; text_edit3[6]="Поле 6"; text_edit3[7]="Поле 7";
text_edit3[8]="Поле 8"; text_edit3[9]="Поле 9"; text_edit3[10]="Поле 10"; text_edit3[11]="Поле 11";
//////////
int pos_size_static3[18][4];
string text_static3[18];
pos_size_static3[0][0]=20; pos_size_static3[0][1]=50; pos_size_static3[0][2]=30; pos_size_static3[0][3]=20;
pos_size_static3[1][0]=20; pos_size_static3[1][1]=80; pos_size_static3[1][2]=30; pos_size_static3[1][3]=20;
pos_size_static3[2][0]=200; pos_size_static3[2][1]=50; pos_size_static3[2][2]=30; pos_size_static3[2][3]=20;
pos_size_static3[3][0]=200; pos_size_static3[3][1]=80; pos_size_static3[3][2]=30; pos_size_static3[3][3]=20;
pos_size_static3[4][0]=20; pos_size_static3[4][1]=140; pos_size_static3[4][2]=30; pos_size_static3[4][3]=20;
pos_size_static3[5][0]=20; pos_size_static3[5][1]=170; pos_size_static3[5][2]=30; pos_size_static3[5][3]=20;
pos_size_static3[6][0]=200; pos_size_static3[6][1]=140; pos_size_static3[6][2]=30; pos_size_static3[6][3]=20;
pos_size_static3[7][0]=200; pos_size_static3[7][1]=170; pos_size_static3[7][2]=30; pos_size_static3[7][3]=20;
pos_size_static3[8][0]=20; pos_size_static3[8][1]=230; pos_size_static3[8][2]=30; pos_size_static3[8][3]=20;
pos_size_static3[9][0]=20; pos_size_static3[9][1]=260; pos_size_static3[9][2]=30; pos_size_static3[9][3]=20;
pos_size_static3[10][0]=200; pos_size_static3[10][1]=230; pos_size_static3[10][2]=42; pos_size_static3[10][3]=20;
pos_size_static3[11][0]=200; pos_size_static3[11][1]=260; pos_size_static3[11][2]=100; pos_size_static3[11][3]=20;
pos_size_static3[12][0]=200; pos_size_static3[12][1]=290; pos_size_static3[12][2]=100; pos_size_static3[12][3]=20;
pos_size_static3[13][0]=300; pos_size_static3[13][1]=290; pos_size_static3[13][2]=100; pos_size_static3[13][3]=15;
pos_size_static3[14][0]=300; pos_size_static3[14][1]=305; pos_size_static3[14][2]=100; pos_size_static3[14][3]=15;
pos_size_static3[15][0]=300; pos_size_static3[15][1]=320; pos_size_static3[15][2]=100; pos_size_static3[15][3]=20;
pos_size_static3[16][0]=301; pos_size_static3[16][1]=335; pos_size_static3[16][2]=100; pos_size_static3[16][3]=20;
pos_size_static3[17][0]=130; pos_size_static3[17][1]=10; pos_size_static3[17][2]=200; pos_size_static3[17][3]=20;
text_static3[0]="Login"; text_static3[1]="Pass"; text_static3[2]="Login"; text_static3[3]="Pass";
text_static3[4]="Login"; text_static3[5]="Pass"; text_static3[6]="Login"; text_static3[7]="Pass";
text_static3[8]="Login"; text_static3[9]="Pass"; text_static3[10]="Login"; text_static3[11]="Pass";
text_static3[12]="из Txt файла вида:"; text_static3[13]="login"; text_static3[14]="pass";
text_static3[15]="login"; text_static3[16]="pass"; text_static3[17]="TEST";
//////////
createdialog(3, BUTTON, #pos_size_button3[0][0], #text_button3[0], #flag_button3[0] |
EDIT, #pos_size_edit3[0][0], #text_edit3[0] |
STATIC, #pos_size_static3[0][0], #text_static3[0]);
//////////
showdialog(3, "Диалог", 504, 159, 380, 400, 1, 1);
//////////
loop() sleep(100);//Убрать после теста