例子代码: int func_win_create() { change_to_win('-'); gui_create_grid('this','Grid',55,120); gui_set_w('Grid',383); gui_set_h('Grid',221); gui_create_grid('this','mg_sum',55,420); grid_bind_sum('Grid','mg_sum'); grid_set_col_name('Grid',1,'n1'); grid_set_col_name('Grid',2,'n2'); grid_set_col_name('Grid',3,'n3'); grid_mark_sum('Grid','n1'); grid_mark_sum('Grid','n3'); return 1; }; int func_win_test() { gui_delete_win('-'); gui_create_mdi_win_design('-',454,454,''); func_win_create() win_set_obj_change_csp(''); return 1; }; int main() { func_win_test(); return 1; }; |