本帖最后由 作者 于 2003-4-26 20:09:06 编辑
zhou:dialog{//定义名字为zhou的对话框
label = "draw axletree";
:row{//引用行
:image
{//引用图像控件
width = 30;
height = 12;
key = "img_axl";
color = 2;
}//图像引用结束
:boxed_column{//引用加框列
label = "Choose";
:popup_list{//引用下拉列表1
label = "axletree series"; //轴承系列
value = "0";
list = "0 series\n2 series\n3 series\n4 series";
key = "series";
alignment = "centered";
}//引用下拉列表1结束
:popup_list{//引用下拉列表2
label = "axletree symbol"; //轴承代号
list = "6000\n6001\n6002\n6003\n6004\n6005\n6006\n6007\n6008\n6009\n6010\n6011\n6012\n6013\n6014\n6015\n6016\n6017\n6018\n6019\n6020";
value = "0";
alignment = "centered";
key = "symbol";
}//引用下拉列表2结束
}//加框列引用结束
:column{//引用列
:boxed_column{//引用加框列
label = "basic parameter";
:edit_box{//引用编辑框1
label = "B(mm):";
key = "B";
edit_width = 8;
is_enabled = false;
}//引用编辑框1结束
:edit_box{//引用编辑框2
label = "d(mm):";
key = "D1";
edit_width = 8;
is_enabled = false;
}//引用编辑框2结束
:edit_box{//引用编辑框3
label = "D(mm):";
key = "D2";
edit_width = 8;
is_enabled = false;
}//引用编辑框3结束
}//引用加框列结束
:button{//引用按钮
label = "pick center...";
key = "pick";
}//引用按钮结束
}//引用列结束
}//行引用结束
ok_cancel;//引用ok_cancel组合控件
}
[此贴子已经被作者于2003-4-26 20:08:36编辑过] |