//Automatic Subform Editor v3.0.0
//以下の関数は定義ファイルを利用しないインターフェースで利用可能
//他のソースファイルの initscr() 以下の行に挿入して利用可能
int subform.def(void)
{
	static int xcol = 126;
	static int rows = 35;

//for label
	static int label_length[] = {14,14,14,14,14,14,14,14,14,0};
	static int label_no[] = {0,1,2,3,4,5,6,7,8,0};
	static int label_align[] = {2,2,2,2,2,2,2,2,2,0};
	static char *label_text[10][128] = {"Label_1","Label_2","Label_3","Label_4","Label_5","Label_6","Label_7","Label_8","Label_9",""};
	static int label_x[] = {1,1,1,1,1,1,1,1,1,0};
	static int label_y[] = {2,3,4,5,6,7,8,9,10,0};
//for textbox
	static int textbox_length[] = {3,7,14,10,11,11,14,64,109,0};
	static int textbox_no[] = {0,1,2,3,4,5,6,7,8,0};
	static int textbox_align[] = {2,2,2,2,2,2,2,2,2,0};
	static int textbox_action[] = {0,0,0,0,0,0,0,0,0,0};
	static int textbox_skipstep[] = {1,1,1,1,1,1,1,1,1,0};
	static int textbox_field[] = {1,1,1,1,1,1,1,1,1,0};
	static int textbox_x[] = {15,15,15,15,15,15,15,15,15,0};
	static int textbox_y[] = {2,3,4,5,6,7,8,9,10,0};


//for grid
	static int cell_length[] = {3,7,16,10,10,10,15,21,24,0};
	static int cell_align[] = {2,2,2,2,1,1,1,2,2,0};
	static int cell_action[] = {0,0,0,0,0,0,0,0,0,0};
	static int grid_field[] = {1,1,1,1,2,4,4,1,1,0};
	static int grid_skipstep[] = {1,1,1,1,1,1,1,1,1,0};
	char *grid_titles[10][128] = {"Grid_1","Grid_2","Grid_3","Grid_4","Grid_5","Grid_6","Grid_7","Grid_8","Grid_9",""};
//	static char *db_titles[10][128] = {0};
	static int grid_sx = 0;
	static int grid_ex = 123;
	static int grid_sy = 12;
	static int grid_ey = 34;

	static int maxtext;
	static int no = 0;

	char **lt;
	char **gt;

	lt = (char **)&label_text;

	maxtext = MakeTextBox(no,0,2,xcol,rows,label_no,lt,label_x,label_y,label_length,textbox_no,textbox_x,textbox_y,textbox_length,textbox_align,textbox_action,textbox_field,textbox_skipstep, 9);

	gt = (char **)&grid_titles;

	xcol = MakeWsubForm(no,xcol,rows,0,2,grid_sx,grid_sy,grid_ex,grid_ey,cell_length,cell_align,cell_action,grid_field,grid_skipstep,gt,9);

}
