本帖最后由 作者 于 2004-6-15 12:29:49 编辑
1. customize时无初始值
2. 无margine项
3. 无出错警讯
Sorry!未达标准!再改进一下!
仿冒!!!!那就直接从原程式(vlx)中,把dcl档抓出来,e2002的程式内含4个dcl
lkpt_layouts
lkpt_layout_ltscale
lkpt_layout_create_2pt
lkpt_layout_serialcreate
(可使用…..…..把它抓出)
lkpt_layout_create_2pt: dialog{ label ="Create Layout from Model"; : boxed_column{ label ="Scale"; mnemonic ="S"; : popup_list{ key ="pl_scales"; } : row{ : edit_box{ key ="ed_punits"; } : text{ label ="mm = "; } : edit_box{ key ="ed_units"; } : text{ label ="Units"; } } } : boxed_row{ label ="Margine"; mnemonic ="M"; : slider{ key ="sl_margine"; min_value = 0; max_value = 20; small_increment ="1"; big_increment ="5"; } : text{ key ="tx_margine"; } : text{ label ="mm (Paper Units)"; } } : boxed_row{ label ="Create to"; mnemonic ="C"; : radio_column{ key ="rc_mode"; : radio_button{ label ="New layout"; key ="rd_new"; mnemonic ="N"; } : radio_button{ label ="Exist layout"; key ="rd_old"; mnemonic ="E"; } } : column{ : edit_box{ key ="ed_newname"; width = 25; } : popup_list{ key ="pl_layouts"; } } } : row{ fixed_width = true; alignment = right; : button{ label ="Create"; key ="bt_create"; mnemonic ="C"; } : button{ label ="Exit"; key ="bt_exit"; mnemonic ="E"; is_cancel = true; } } errtile; }
|