Cross button have no Effect

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When i run the program and it reads the dcl file sometime the user want to cancel from top red button but when i click that it does not have any effect please can you tell me where i am making the error.
thanks
laygrid : dialog {
label = "Gridding Marker (Designed by Engr. Ehsan ul Haque)";
: boxed_column {
: edit_box {
key = "edit1";
label = "&Layer Name";
edit_width = 20 ;
}
: edit_box {
key = "edit2";
label = "&Layer Color";
edit_width = 20 ;
}
: edit_box {
key = "edit3";
label = "&Distance of Grids";
edit_width = 20 ;
}
: edit_box {
key = "edit5";
label = "&Text Size";
edit_width = 20 ;
}
: edit_box {
key = "edit6";
label = "&Cross Size";
edit_width = 20 ;
}
}
spacer; { width = 8;}
: row {
: button {
label = "OK";
key = "accept";
mnemonic = "O";
alignment = centered;
width = 12;
is_default = true;
}
: button {
label = "Cancel";
key = "cancel";
mnemonic = "C";
alignment = centered;
width = 12;
is_default = true;
}
}
}