[DCL]DCL预览请求
您好,有人可以插入以下dcl预览的屏幕截图吗Sett : dialog
{ label = "Quick Settings:";
width = 50;
: row {
: column {
: text { label = "Rozbic blok:"; }
: text { label = "Troche dluzszy tekst:"; }
}
: column {
_RADIO1;
_RADIO2;
}
}
: _POPUP { key = "B_1"; label = "&Czy wstawic punkt w srodku:"; }
: _POPUP { key = "B_4"; label = "&Separator:"; }
: _EDITBOX { key = "B_2"; label = "&Wysokosc tekstu:"; edit_limit = 10; }
: _EDITBOX { key = "B_3"; label = "Odstep &tekstu:"; edit_limit = 10; }
spacer_1;
: row {
alignment = centered;
fixed_width = true;
: _BUTTON { key = "OK"; label = "&Ok"; is_default = true; }
: _BUTTON { key = "CANCEL"; label = "&Anuluj"; is_cancel = true; }
}
errtile;
}
_BUTTON : button { width = 13; fixed_width = true; }
_POPUP : popup_list { edit_width = 30; }
_EDITBOX : edit_box { edit_width = 30.8; }
_RADIO1 : row {
: radio_button {
key = "op1";
label = "&Tak";
}
: radio_button {
key = "op2";
label = "&Nie";
}
spacer;
}
_RADIO2 : row {
: radio_button {
key = "op3";
label = "&Wiecej Tak";
}
: radio_button {
key = "op4";
label = "&Wiecej Nie";
}
spacer;
} 你只是想测试它吗?这将显示
(setq dcl_id (load_dialog "Sett.dcl")) ; needs correct path
(if (not (new_dialog "Sett" dcl_id))
(exit))
(start_dialog)
(done_dialog)
(unload_dialog dcl_id)
你的对话在VLIDE中显示得很好。
http://www.afralisp.net/dialog-control-language/tutorials/preview-dcl-files.php
请注意,系统用户权限可能需要更改。
当做
补充:
这是AC2017的Win 10 我只是想看看这个窗口在其他电脑上会是什么样子。我知道如何测试dcl对话框。
我还有一个问题。。。我发布的DCL在不同的机器上显示不同。
在我的一台电脑上,它看起来像这样:
另一个和克里·布朗一样。
有人知道问题出在哪里吗?
你好
这是我的机器上的样子。
这只是在“base”中如何定义瓷砖的问题。支持文件夹中的dcl以及一些windows设置(颜色/分辨率/字体)可能也会影响某些方面。但我实际上喜欢这种编码风格,在我的dcl文件中从未使用过“subs”。
gr.Rlx
这是各种不好的信息。。。我不得不忍受。。。 您可以使用OpenDCL来代替DCL体验。
我认为生活中有更糟糕的事情你必须忍受。。。如果您的设计是正确的,那么无论某些细节是否有点偏离,您的对话框都将具有正确的外观和感觉。话虽如此,当我的对话看起来不像我想要的那样时,它也会让我很恼火,因为我希望一切尽可能对称,并且可以花很多时间来纠正它。
gr.Rlx 我将把这个放在这里作为选项的参考
https://www.theswamp.org/index.php?topic=53181.msg579422#msg579422
DCL的设计方式使其相对容易安全地修改。我认为干得好。
当做
页:
[1]
2