T.R | Title | User | Personal Name | Date | Lines |
---|
800.1 | Perhaps auto_unmanage is true | TLE::D_SMITH | | Thu May 18 1989 12:40 | 12 |
| I believe there is an "auto_unmanage" resource that may default to
being true. The resource is listed in the low-level widget creation
call, but I couldn't find it in the UIL reference manual.
You may need to add something like
value auto_unmanage : argument ('autoUnmanage', boolean);
in your UIL file and then use it as a resource when you define this
particular dialog box.
|
800.2 | | PSW::WINALSKI | Paul S. Winalski | Fri May 19 1989 00:10 | 5 |
| auto_unmanage is true by default for popup dialog boxes. See page B-30 in the
UIL manual.
--PSW
|
800.3 | more popup dialog box stuff | LENSMN::bonini | I was grepped by a zombie with a pipe!!! | Wed Jun 28 1989 15:20 | 21 |
|
In keeping with the spirit of reducing the number of topics in this
conference, I'll put this here since it's about popup dialog boxes.
Someone doing a PMAX port noted that when he defined a popup dialog box
as the child of a widget he had some problems. Essentially, what he wants is
to define ONE popup dialog box instance and then have that one instance popup
when MB2 is pressed in any of 4 main window widgets his application uses.
Can he do this with one widget instance or does he need to define one
instance for each window? The dialog box and its children are identical in all
cases.
Also noted that when he bound the popup to MB2 that he lost MB2
functionality on the scroll bar associated with the window. When he pressed
MB2 while over the scroll bar, he got the popup instead of the default MB2
behaviour for scroll bars.
Thanks
|
800.4 | System vector error during manage-child | AIAG::SCHWARTZ | Staying one step ahead. | Tue Nov 14 1989 22:09 | 93 |
| Same title, different problem.
When MANAGEing a UIL popup_attached_db, I get the following:
Error in DWT:MANAGE-CHILD: Attempt to modify system vector, T or NIL.
What does this mean?
Background: This occurred in VAX LISP 3.0.
The FETCH WIDGET performed successfully. I was able to manipulate some of the
children's resources, though I never managed nor mapped the popup.
The full UIL description follows:
object attributes_popup : popup_attached_db {
arguments { x = 400;
y = 400;
width = 300;
height = 300;
title = "Network Component Attributes"; };
controls { list_box attr_names;
label attr_name_chosen_label;
simple_text attr_name_chosen;
label attr_class_label;
simple_text attr_class;
scale attr_memory_value;
push_button attr_change;
push_button attr_cancel; };};
object attr_names : list_box {
arguments { adb_top_attachment = DwtAttachAdb;
adb_left_attachment = DwtAttachAdb;
visible_items_count = 3;
items = string_table(); };
callbacks { single_confirm = procedure attr_choose_component (); };};
object attr_name_chosen_label : label {
arguments { adb_top_attachment = DwtAttachAdb;
adb_left_attachment = DwtAttachWidget;
adb_left_widget = list_box attr_names;
label_label = "Component: "; };};
object attr_name_chosen : simple_text {
arguments { adb_top_attachment = DwtAttachAdb;
adb_left_attachment = DwtAttachWidget;
adb_left_widget = label attr_name_chosen_label;
half_border = false;
insertion_point_visible = false;
cols = 31;
simple_text_value = "";
editable = false; };};
object attr_class_label : label {
arguments { adb_top_attachment = DwtAttachWidget;
adb_top_widget = label attr_name_chosen_label;
adb_left_attachment = DwtAttachWidget;
adb_left_widget = list_box attr_names;
label_label = "Class: "; };};
object attr_class : simple_text {
arguments { adb_top_attachment = DwtAttachWidget;
adb_top_widget = label attr_name_chosen_label;
adb_left_attachment = DwtAttachWidget;
adb_left_widget = label attr_class_label;
half_border = false;
insertion_point_visible = false;
cols = 31;
simple_text_value = "";
editable = false; };};
object attr_memory_value : scale {
arguments { adb_top_attachment = DwtAttachWidget;
adb_top_widget = list_box attr_names;
adb_left_attachment = DwtAttachAdb;
sensitive = false;
min_value = 0;
max_value = 16;
scale_value = 4;
title = "Memory size (Mb)";
show_value = false; };
callbacks { value_changed = procedure attr_memory_changed (); };
controls { label { arguments { label_label = "0"; };};
label { arguments { label_label = "4"; };};
label { arguments { label_label = "8"; };};
label { arguments { label_label = "12"; };};
label { arguments { label_label = "16"; };};};};
object attr_change : push_button {
arguments { adb_top_attachment = DwtAttachWidget;
adb_top_widget = scale attr_memory_value;
adb_left_attachment = DwtAttachAdb;
label_label = "Change";
sensitive = false; };
callbacks { activate = procedure change_attributes (); };};
object attr_cancel : push_button {
arguments { adb_top_attachment = DwtAttachWidget;
adb_top_widget = scale attr_memory_value;
adb_right_attachment = DwtAttachAdb;
label_label = "Cancel"; };
callbacks { activate = procedure unmap_attr_popup (); };};
|