Cross button have no Effect

Cross button have no Effect

Anonymous
Not applicable
313 Views
1 Reply
Message 1 of 2

Cross button have no Effect

Anonymous
Not applicable

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;
}
}
}

0 Likes
314 Views
1 Reply
Reply (1)
Message 2 of 2

Ajilal.Vijayan
Advisor
Advisor

Add is_cancel = true; to the Cancel button attribute

is_cancel

0 Likes