转贴一个功能强大的序号程序,那位大侠修正完善?
- AutoNum : dialog {
- label = "自动序号 Copyright 2006, JieGa. ";
- initial_focus = "Prefix";
- :row{
- : boxed_column {
- label = "初始设置";
- fixed_width = true;
- : edit_box {
- label = "前 缀";
- key = "Prefix";
- edit_width=5;
- }
- : edit_box {
- label = "起始编号";
- key = "Start_No";
- edit_width=5;
- }
- : edit_box {
- label = "后 缀";
- key = "Suffix";
- edit_width=5;
- }
- }
-
- : boxed_column {
- label = "控制参数";
- : edit_box {
- label = "序号增量";
- key = "Inc";
- edit_width=10;
- }
- : popup_list {
- label = "排序方式";
- key = "Sort_Type";
- width = 9;
- }
- : toggle {
- label = "替代原文字";
- key = "Replace";
- value = 0;
- }
- }
- }
- :row{
- :boxed_radio_column{
- label="操作方式";
- :radio_button{
- label="编辑模式 ";
- key="Edit_Mode";
- value=1;
- }
- :radio_button{
- label="书写模式 ";
- key="Write_Mode";
- value=0;
- }
- }
- : boxed_column {
- label = "文字参数";
- : edit_box {
- label = "文字高度";
- key = "Height";
- edit_width=10;
- }
- : popup_list {
- label = "文字样式";
- key = "Style";
- edit_width=9;
- }
- }
- }
- spacer_1;
-
- :row {
- :spacer { width = 1;}
- :button {
- label = "确 定";
- key = "accept";
- width = 5;
- fixed_width = true;
- }
- :spacer { width = 1;}
- :button {
- label = "退 出";
- is_cancel = true;
- key = "cancel";
- width = 5;
- fixed_width = true;
- }
-
- :spacer { width = 1;}
- }
- }
|