From: serge f. <fu...@ma...> - 2005-04-28 15:12:22
|
Hi, experimenting with Adam&Eve i can not find out why does checkbox entitled "Resample image" works and changes it's own value along with other checkbox's which is bound to the same adam variable. But that very other checkbox ignores clicks and does not chagne it's value? Thank you in advance. Here is the code: dialog(name: "Specialized Resource Point", placement: place_column) { group(name: "SSFFeam", indent: 10) { /* edit_text(name: "Listen address", indent: 10); group(name: "Optional parameters") { */ column() { checkbox(bind: @no_options_params, name: "Do not use optional parameters"); } /* group(name: "Numbers count", indent: 20) { column() { edit_number(name: "Call number", digits: 10, bind: @call_number); edit_number(name: "CorrelationID", digits: 10, bind: @correlation_id); edit_number(name: "SCFID", digits: 10, bind: @scf_id); } } } group(name: "Send answer") { checkbox(bind: @send_answer, name: "Send answer"); edit_text(name: "Phone mask", value: "~"); } */ } group(name: "[ SSF ]") { static_text ( wrap: false, name: " Handles connection to ASSP as CCAFE with ACCP " ); } column() { row() { button(name: "Ok", default: true, action: @cancel, horizontal: align_right); button(name: "Cancel", default: false, action: @cancel, horizontal: align_right); } } column() { checkbox(bind: @scale_styles, name: "Scale Styles"); checkbox(bind: @constrain, name: "Constrain Proportions"); checkbox(bind: @no_options_params, name: "Resample Image:"); } } --------------- sheet distance_calculator { interface: unlink constrain : false <== no_options_params ? constrain : true; unlink scale_styles : false <== no_options_params && constrain ? scale_styles : false; no_options_params : false; /* send_answer : false; call_number : 2 <== (no_options_params) ? call_number : empty; correlation_id : 2 <== (no_options_params) ? correlation_id : empty; scf_id : 2 <== (no_options_params) ? scf_id : empty;*/ } --- Serge |