📄 ase.dcl
字号:
}
: column {
: text {
label = "Cata&log";
width = 18 ;
}
: popup_list {
width = 18 ;
key = "ID_PLIST_CAT";
mnemonic = "l" ;
}
}
: column {
: text {
label = "Sche&ma";
width = 18 ;
}
: popup_list {
width = 18 ;
key = "ID_PLIST_SCH";
mnemonic = "m" ;
}
}
}
: list_box {
label = "Histor&y";
key = "ID_LBOX_HISTORY";
height = 4 ;
fixed_width_font = true ;
}
: slider {
key = "ID_SLIDER" ;
layout = horizontal ;
min_value = 0 ;
max_value = 255 ;
}
}
: column {
: boxed_row {
label = "Transaction Mode" ;
: radio_column {
: radio_button {
key = "ID_RBUT_RDONL";
label = "&Read-only";
}
: radio_button {
key = "ID_RBUT_RWR";
label = "Read-&write";
}
}
}
: boxed_row {
label = "Cursor State";
: toggle {
label = "&Scrollable";
key = "ID_TOGG_SCROL";
}
}
: column {
iso_level_list ;
}
}
}
: boxed_column {
label = "SQL Statement";
: edit_box {
key = "ID_EBOX_STM";
label = "S&QL:" ;
allow_accept = true ;
edit_limit = 256 ;
}
: row {
: toggle {
label = "&Autocommit";
key = "ID_TOGG_AUTO";
alignment = left ;
}
: toggle {
alignment = left ;
label = "&Native";
key = "ID_TOGG_NTV";
alignment = left ;
}
: ase_execute_button {
alignment = centered ;
width = 15 ;
fixed_width = true ;
}
: button {
label = "&File...";
key = "ID_BUTT_FILE";
alignment = right ;
width = 15 ;
fixed_width = true ;
}
}
}
: row {
fixed_width = true;
alignment = centered ;
: button {
label = "C&ommit" ;
key = "ID_BUTT_COMMIT";
}
: spacer { width = 2; }
: button {
label = "Roll&back" ;
key = "ID_BUTT_RBACK";
}
: spacer { width = 2; }
ase_close_button ;
: spacer { width = 2; }
ase_help_button ;
}
ase_errtile;
}
//---------------------------------------------------------------------
//
// SQL Cursor dialogue box
//
cursor : dialog {
aspect_ratio = 0;
label = "SQL Cursor";
: column {
ase_sql_statement ;
: column {
: row {
: column {
children_fixed_width = true ;
: list_box {
alignment = left ;
key = "ID_LBOX_CURSOR";
width = 60 ;
height = 7 ;
tabs = "20 25 30 35" ;
tab_truncate = true ;
fixed_width_font = true ;
}
: slider {
key = "ID_SLIDER";
layout = horizontal ;
min_value = 0;
max_value = 255;
width = 60 ;
}
}
: column {
fixed_width = true ;
ase_next_button ;
ase_prior_button ;
ase_first_button ;
ase_last_button ;
}
}
: column {
children_fixed_width = true ;
: row {
: text {
label = "Name: ";
width = 6 ;
fixed_width = true ;
}
: text {
alignment = left ;
key = "ID_TEXT_COLUMN" ;
width = 62 ;
}
}
: row {
: edit_box {
alignment = left ;
label = "&Value: ";
key = "ID_EBOX_KVAL";
edit_width = 62 ;
}
}
}
: row {
alignment = centered ;
: spacer { width = 8; }
ase_upd_button ;
: spacer { width = 1; }
ase_delete_button;
: spacer { width = 1; }
ase_close_button;
: spacer { width = 1; }
ase_help_button;
: spacer { width = 8; }
}
}
}
ase_errtile;
}
//---------------------------------------------------------------------
//
// SQL Syntax Error dialogue box
//
warning : dialog {
aspect_ratio = 0;
label = "ASE Warning" ;
: column {
children_fixed_height = true ;
: column {
: concatenation {
children_alignment = left ;
: text {
label = "Error List: Error ";
}
: text {
key = "ID_TEXT_ERRNUM";
width = 7 ;
}
: text {
label = " of ";
}
: text {
key = "ID_TEXT_ERRTOTAL";
width = 7 ;
}
}
: list_box {
key = "ID_LBOX_SQLERR" ;
height = 4 ;
fixed_width_font= true ;
}
: slider {
key = "ID_SLDR_ERRMSG" ;
layout = horizontal ;
min_value = 0;
max_value = 255;
}
: list_box {
label = "Diagnostic Parameters: ";
key = "ID_LBOX_ASEERR" ;
tabs = "30 35 40" ;
tab_truncate = true ;
height = 3 ;
fixed_width_font= true ;
}
: slider {
key = "ID_SLDR_EXTEND" ;
layout = horizontal ;
min_value = 0;
max_value = 255;
}
}
: boxed_column {
label = "SQL Statement" ;
: row {
children_fixed_width = true ;
alignment = centered ;
: column {
alignment = left ;
: text {
label = "Left character position: " ;
}
: edit_box {
width = 3 ;
key = "ID_EBOX_SPOS" ;
fixed_width = true ;
}
}
: column {
alignment = centered ;
spacer_1 ;
: row {
: text {
label = "Error Position: " ;
}
: text {
key = "ID_TEXT_ERRPOS" ;
width = 3 ;
fixed_width = true ;
}
}
}
: spacer {
width = 15 ;
}
}
: text {
key = "ID_TEXT_ERRMSG" ;
alignment = left ;
width = 50 ;
fixed_width = true ;
}
: slider {
key = "ID_SLIDER" ;
layout = horizontal ;
min_value = 0;
max_value = 255;
}
}
: row {
alignment = centered ;
: spacer { width = 10 ;}
: ase_close_button {is_default = true ;}
: spacer { width = 10; }
}
}
}
ase_none_button : retirement_button {
label = "&None";
key = "ID_BUTT_NONE";
width = 10 ;
}
//---------------------------------------------------------------------
//
// MLPN dialogue box
//
mlpn : dialog {
aspect_ratio = 0;
label = "Select Primary LPN" ;
: list_box {
alignment = left ;
label = "Defined LPNs With Same Key Column(s)" ;
width = 50 ;
height = 8 ;
fixed_width_font = true ;
key = "ID_LBOX_LPNS";
mnemonic = "D" ;
}
: boxed_row {
label = "Selected Link Path Name";
: text {
key = "ID_TEXT_CURRSET" ;
}
}
: row {
: spacer {width = 10 ;}
ase_select_button;
ase_none_button;
ase_cancel_button;
ase_help_button;
: spacer {width = 10 ;}
}
ase_errtile;
}
//---------------------------------------------------------------------
//
// MLPN erase confirmation dialogue box
//
mlpnerase : dialog {
aspect_ratio = 0;
label = "Primary LPN Erase Confirmation" ;
: column {
children_fixed_width = true ;
children_alignment = centered ;
: column {
: text {
alignment = centered ;
width = 60 ;
key = "ID_TEXT_ERASEPLPN";
value = "Primary Link Path Name";
}
: text {
alignment = centered ;
key = "ID_TEXT_OBJECT";
width = 55 ;
}
: text {
alignment = centered ;
key = "ID_TEXT_MSG";
width = 55 ;
}
: text {
alignment = centered ;
key = "ID_TEXT_ERASEMLPN";
width = 55 ;
value =
"Erase Link Path Name with related link(s)";
}
: text {
alignment = centered ;
width = 60 ;
key = "ID_TEXT_ERASESLPN";
value =
"and Secondary LPN(s) with subordinate link(s)?";
}
}
}
: concatenation {
children_fixed_width = true ;
: text {
label = "Secondary LPN(s)";
width = 32 ;
}
: text {
width = 5 ;
label = "links";
}
}
: list_box {
alignment = left ;
width = 40 ;
height = 8 ;
tabs = "32" ;
tab_truncate = true ;
fixed_width_font = true ;
key = "ID_LBOX_ESLPNS";
}
: row {
: spacer {width = 10 ;}
ase_ok_button;
ase_cancel_button;
ase_help_button;
: spacer {width = 10 ;}
}
ase_errtile;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -