==== Julian: Thu Mar 31 13:13:14 PST 2005 =============================== Dear Eric, The behavior you are experiencing with EiffelVision2 dialogs firing the `select_actions' of the `default_cancel_button' when the close icon of the dialog is selected is the expected behavior. If you have not set a `default_cancel_button' then the close icon is not available in the dialog. ==== Julian: Thu Mar 31 13:13:14 PST 2005 =============================== From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Thu, 31 Mar 2005 13:33:58 -0800 > The behavior you are experiencing with EiffelVision2 dialogs firing > the `select_actions' of the `default_cancel_button' when the close > icon of the dialog is selected is the expected behavior. My problem is that the `select_actions' of the `default_cancel_button' are NOT executed when clicking on the close button. Note that typing Escape DO trigger the actions, but not the close button. > If you have not set a `default_cancel_button' then the close icon > is not available in the dialog. I have set a `default_cancel_button'. -- Eric Bezault ==== Julian: Thu Mar 31 13:47:49 PST 2005 =============================== Dear Eric, Sorry about that oversight, I must have read it too quickly. We have tested the dialog and the `select_actions' seem to be fired. Can you send us a small example which reproduces this behavior? ==== Julian: Thu Mar 31 13:47:49 PST 2005 =============================== From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Thu, 31 Mar 2005 14:37:11 -0800 I didn't try to reproduce it on a small example yet, but I put some breakpoints and I don't go into the Wm_close branch of EV_WIDGET_IMP.process_message when I click on the close icon. Perhaps it's like my problem with EV_MULTI_COLUMN_LIST.set_column_widths for which I get a problem under Windows 2000 but not Windows XP. I'll try to run my program under Windows XP to see what happens. -- Eric Bezault =20 > -----Original Message----- > From: ISE Customer Support [mailto:bugs@support.eiffel.com]=20 > Sent: Thursday, March 31, 2005 1:48 PM > To: Eric Bezault > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > Dear Eric, >=20 > Sorry about that oversight, I must have read it too quickly. We have=20 > tested the dialog and the `select_actions' seem to be fired. Can you=20 > send us a small example which reproduces this behavior? >=20 >=20 > With best regards, > The Customer Support Team >=20 > -------------------------------------------------------------=09 > Answer prepared by: Julian Rogers >=20 > Eiffel Software, 356 Storke Road, Goleta CA 93117=09 > 805-685-1006, fax 805-685-6869,=09 > Customer support: http://support.eiffel.com=09 > Product information: info@eiffel.com=09 > ------------------------------------------------------------- =09 > To answer this message, use the `reply' button of your mail=09 > tool without changing the `subject' header.=09 > ------------------------------------------------------------- =09 >=20 From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Thu, 31 Mar 2005 14:46:44 -0800 Same problem for an executable compiled under Windows 2000 and executed under Windows Server 2003. -- Eric Bezault > -----Original Message----- > From: Eric Bezault=20 > Sent: Thursday, March 31, 2005 2:37 PM > To: 'bugs@support.eiffel.com' > Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > I didn't try to reproduce it on a small example yet, but I > put some breakpoints and I don't go into the Wm_close branch > of EV_WIDGET_IMP.process_message when I click on the close icon. >=20 > Perhaps it's like my problem with=20 > EV_MULTI_COLUMN_LIST.set_column_widths > for which I get a problem under Windows 2000 but not Windows XP. > I'll try to run my program under Windows XP to see what happens. >=20 > -- > Eric Bezault > =20 >=20 > > -----Original Message----- > > From: ISE Customer Support [mailto:bugs@support.eiffel.com]=20 > > Sent: Thursday, March 31, 2005 1:48 PM > > To: Eric Bezault > > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG > >=20 > > Dear Eric, > >=20 > > Sorry about that oversight, I must have read it too=20 > quickly. We have=20 > > tested the dialog and the `select_actions' seem to be=20 > fired. Can you=20 > > send us a small example which reproduces this behavior? > >=20 > >=20 > > With best regards, > > The Customer Support Team > >=20 > > -------------------------------------------------------------=09 > > Answer prepared by: Julian Rogers > >=20 > > Eiffel Software, 356 Storke Road, Goleta CA 93117=09 > > 805-685-1006, fax 805-685-6869,=09 > > Customer support: http://support.eiffel.com=09 > > Product information: info@eiffel.com=09 > > ------------------------------------------------------------- =09 > > To answer this message, use the `reply' button of your mail=09 > > tool without changing the `subject' header.=09 > > ------------------------------------------------------------- =09 > >=20 >=20 From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Fri, 1 Apr 2005 02:01:02 -0800 This is a multi-part message in MIME format. ------_=_NextPart_001_01C536A1.B6546363 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Note that when I put a window from another application in front of my dialog and then make it visible again, then the close button works. I think that I already saw (and probably reported) such similar strange behavior in the past where hiding and showing again the window would make it work. Hmmm, I think I remember what it was now. In my menu bar I have an entry to show some documentation launched by calling: EXECUTION_ENVIRONMENT.launch ("cmd /c start " + a_file) Somehow at some point it stopped working, and I noticed that hiding my main window behind another application and showing it again would make the action associated with my menu entry work again. Very strange. Note that my dialog window is not an EV_DIALOG but it inherits from it. I don't think that it is relevant, but I attached its class text just in case you can see something obvious in it that I do wrong. For example I never understood what `is_in_default_state' was for, except for its comment which says that it is used in the postcondition of `default_create'. As a temporary workaround I added my "cancel" action to `close_request_actions' and it works. This allowed me to find out that the actions in `close_request_actions' are executed by EV_DIALOG_IMP_MODAL.process_message (inherited from EV_DIALOG_IMP_COMMON): process_message (hwnd: POINTER; msg: INTEGER; wparam, lparam: POINTER): POINTER is -- Process all message plus `WM_INITDIALOG'. do if msg =3D Wm_initdialog then setup_dialog elseif msg =3D wm_ctlcolordialog then on_wm_ctlcolordialog (wparam, lparam) else Result :=3D Precursor {EV_TITLED_WINDOW_IMP} (hwnd, msg, wparam, lparam) end end and I guess that's why the Wm_close branch of EV_DIALOG_IMP.process_message is never executed as I pointed out in a previous message. I continued investigating in that direction and found out that in EV_DIALOG_IMP_MODAL.on_wm_command the value for focus_on_widget.item is the `implementation' of my main window instead of the one from my dialog box. This may explain why hiding and showing again the window makes it work. Having understood that, if now I click in a text field of my dialog window before clicking on close, then it works. I have no idea why the dialog window does not get the focus when `show_modal_to_window' is called, but my final workaround is to call: show_actions.extend (agent set_focus) in the creation routine of my dialog window. And it works! -- Eric Bezault =20 > -----Original Message----- > From: Eric Bezault=20 > Sent: Thursday, March 31, 2005 1:34 PM > To: 'bugs@support.eiffel.com' > Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > > The behavior you are experiencing with EiffelVision2 dialogs firing > > the `select_actions' of the `default_cancel_button' when the close > > icon of the dialog is selected is the expected behavior. >=20 > My problem is that the `select_actions' of the `default_cancel_button' > are NOT executed when clicking on the close button. Note that typing > Escape DO trigger the actions, but not the close button. >=20 > > If you have not set a `default_cancel_button' then the close icon > > is not available in the dialog. >=20 > I have set a `default_cancel_button'. >=20 > -- > Eric Bezault >=20 ------_=_NextPart_001_01C536A1.B6546363 Content-Type: application/octet-stream; name="rose_studio_preferences.e" Content-Transfer-Encoding: base64 Content-Description: rose_studio_preferences.e Content-Disposition: attachment; filename="rose_studio_preferences.e" aW5kZXhpbmcNCg0KCWRlc2NyaXB0aW9uOiAiUm9zZSBTdHVkaW8gcHJlZmVyZW5jZXMgd2luZG93 Ig0KCWF1dGhvcjogIkVyaWMgQmV6YXVsdCINCglkYXRlOiAiJERhdGU6IDMvMzAvMDUgMTI6MzBw ICQiDQoJcmV2aXNpb246ICIkUmV2aXNpb246IDcgJCINCg0KY2xhc3MgUk9TRV9TVFVESU9fUFJF RkVSRU5DRVMNCg0KaW5oZXJpdA0KDQoJRVZfRElBTE9HDQoJCXJlbmFtZQ0KCQkJc2hvdyBhcyBz aG93X3dpbmRvdw0KCQlyZWRlZmluZQ0KCQkJaW5pdGlhbGl6ZSwNCgkJCWlzX2luX2RlZmF1bHRf c3RhdGUNCgkJZW5kDQoNCglST1NFX1NUVURJT19DT05TVEFOVFMNCgkJZXhwb3J0DQoJCQl7Tk9O RX0gYWxsDQoJCXVuZGVmaW5lDQoJCQlkZWZhdWx0X2NyZWF0ZSwgY29weQ0KCQllbmQNCg0KCVJP U0VfU0hBUkVEX0dMT0JBTF9HVUkNCgkJZXhwb3J0DQoJCQl7Tk9ORX0gYWxsDQoJCXVuZGVmaW5l DQoJCQlkZWZhdWx0X2NyZWF0ZSwgY29weQ0K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dXBkYXRlX2FjdGlvbnMgLz0gVm9p ZA0KCWJhY2tncm91bmRfcHJvY2Vzc2luZ19ub3Rfdm9pZDogYmFja2dyb3VuZF9wcm9jZXNzaW5n IC89IFZvaWQNCglvdXRwdXRfZXJhc2Vfbm90X3ZvaWQ6IG91dHB1dF9lcmFzZSAvPSBWb2lkDQoJ Z2VsaW50X3JlZnJlc2hfb3ZlcnJpZGVfYnV0dG9uX25vdF92b2lkOiBnZWxpbnRfcmVmcmVzaF9v dmVycmlkZV9idXR0b24gLz0gVm9pZA0KCWdlbGludF9yZWZyZXNoX3llc19idXR0b25fbm90X3Zv aWQ6IGdlbGludF9yZWZyZXNoX3llc19idXR0b24gLz0gVm9pZA0KCWdlbGludF9yZWZyZXNoX25v X2J1dHRvbl9ub3Rfdm9pZDogZ2VsaW50X3JlZnJlc2hfbm9fYnV0dG9uIC89IFZvaWQNCglleHRl cm5hbF9lZGl0b3Jfbm90X3ZvaWQ6IGV4dGVybmFsX2VkaXRvciAvPSBWb2lkDQoNCmVuZA0K ------_=_NextPart_001_01C536A1.B6546363-- From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Fri, 1 Apr 2005 02:04:34 -0800 > -----Original Message----- > From: Eric Bezault=20 > Sent: Friday, April 01, 2005 2:01 AM > To: 'bugs@support.eiffel.com' > Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > I have no > idea why the dialog window does not get the focus > when `show_modal_to_window' is called, but my final > workaround is to call: >=20 > show_actions.extend (agent set_focus) >=20 > in the creation routine of my dialog window. And > it works! In fact it is probably better to call: show_actions.extend_kamikaze (agent set_focus) -- Eric Bezault=20 ==== Julian: Fri Apr 1 09:17:09 PST 2005 =============================== Dear Eric, We tested your dialog in a small example and are unable to reproduce the problem. Do you have an example set up on a system that we can access remotely? This will enable us to better understand exactly what is happening. ==== Julian: Fri Apr 1 09:17:09 PST 2005 =============================== From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Fri, 1 Apr 2005 09:23:30 -0800 I won't have time today, but if you want we can do that on Monday morning (or another day if you want). I think I just have to comment out my workaround with the `set_focus' in the creation routine to reproduce the bug on my machine (which is accessible via Citrix). -- Eric Bezault > -----Original Message----- > From: ISE Customer Support [mailto:bugs@support.eiffel.com]=20 > Sent: Friday, April 01, 2005 9:17 AM > To: Eric Bezault > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > Dear Eric, >=20 > We tested your dialog in a small example and are unable to reproduce > the problem. Do you have an example set up on a system that we can=20 > access remotely? This will enable us to better understand exactly > what is happening. >=20 > With best regards, > The Customer Support Team >=20 > -------------------------------------------------------------=09 > Answer prepared by: Julian Rogers >=20 > Eiffel Software, 356 Storke Road, Goleta CA 93117=09 > 805-685-1006, fax 805-685-6869,=09 > Customer support: http://support.eiffel.com=09 > Product information: info@eiffel.com=09 > ------------------------------------------------------------- =09 > To answer this message, use the `reply' button of your mail=09 > tool without changing the `subject' header.=09 > ------------------------------------------------------------- =09 >=20 >=20 From: "Eric Bezault" To: Cc: , "Julian Rogers [ES]" Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Mon, 4 Apr 2005 08:53:35 -0700 Hi Julian, It looks like I won't have an Skype ECMA meeting today (Manu, can you confirm?), so I'm available from 9 to 10 AM (your time) to show you the problem on my machine. It is accessible from Citrix. You can ask Manu to log you in if you don't have the password. Do you have a Skype connection so that we can talk while I show you what is going on? My Skype ID is eric_bezault. Please let me know when we can start, or if this is inconvenient for you today. Thanks. -- Eric Bezault =20 > -----Original Message----- > From: ISE Customer Support [mailto:bugs@support.eiffel.com]=20 > Sent: Friday, April 01, 2005 9:17 AM > To: Eric Bezault > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > Dear Eric, >=20 > We tested your dialog in a small example and are unable to reproduce > the problem. Do you have an example set up on a system that we can=20 > access remotely? This will enable us to better understand exactly > what is happening. >=20 > With best regards, > The Customer Support Team >=20 > -------------------------------------------------------------=09 > Answer prepared by: Julian Rogers >=20 > Eiffel Software, 356 Storke Road, Goleta CA 93117=09 > 805-685-1006, fax 805-685-6869,=09 > Customer support: http://support.eiffel.com=09 > Product information: info@eiffel.com=09 > ------------------------------------------------------------- =09 > To answer this message, use the `reply' button of your mail=09 > tool without changing the `subject' header.=09 > ------------------------------------------------------------- =09 >=20 From: "Emmanuel Stapf [ES]" To: "'Eric Bezault'" , Cc: "'Julian Rogers [ES]'" Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Mon, 4 Apr 2005 09:13:08 -0700 Only I have access to citrix and a microphone for skype. So I'll let Julian use my computer while you show him the problem. Feel free to call me when you are ready. Manu > -----Original Message----- > From: Eric Bezault [mailto:ebezault@axarosenberg.com] > Sent: Monday, April 04, 2005 8:54 AM > To: bugs@support.eiffel.com > Cc: manus@eiffel.com; Julian Rogers [ES] > Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG > > Hi Julian, > > It looks like I won't have an Skype ECMA meeting today (Manu, > can you confirm?), so I'm available from 9 to 10 AM (your > time) to show you the problem on my machine. It is accessible > from Citrix. You can ask Manu to log you in if you don't have > the password. Do you have a Skype connection so that we can > talk while I show you what is going on? > My Skype ID is eric_bezault. > > Please let me know when we can start, or if this is > inconvenient for you today. Thanks. > > -- > Eric Bezault > > > > -----Original Message----- > > From: ISE Customer Support [mailto:bugs@support.eiffel.com] > > Sent: Friday, April 01, 2005 9:17 AM > > To: Eric Bezault > > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG > > > > Dear Eric, > > > > We tested your dialog in a small example and are unable to > reproduce > > the problem. Do you have an example set up on a system that we can > > access remotely? This will enable us to better understand > exactly what > > is happening. > > > > With best regards, > > The Customer Support Team > > > > ------------------------------------------------------------- > > Answer prepared by: Julian Rogers > > > > Eiffel Software, 356 Storke Road, Goleta CA 93117 > > 805-685-1006, fax 805-685-6869, > > Customer support: http://support.eiffel.com > > Product information: info@eiffel.com > > ------------------------------------------------------------- > > To answer this message, use the `reply' button of your mail > > tool without changing the `subject' header. > > ------------------------------------------------------------- > > > From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Sun, 10 Apr 2005 03:13:43 -0700 Hello Julian, I managed to reproduce the problem on a small example: -------------------------------------=20 class MY_APPLICATION inherit EV_APPLICATION create make_and_launch feature {NONE} -- Initialization make_and_launch is -- Create `Current', build and display `main_window', -- then launch the application. do default_create create main_window main_window.set_size (600, 400) main_window.show main_window.set_focus launch end feature {NONE} -- Implementation main_window: MAIN_WINDOW -- Main window of `Current' end -------------------------------------=20 class MAIN_WINDOW inherit EV_TITLED_WINDOW redefine initialize, is_in_default_state end feature {NONE} -- Initialization initialize is -- Initialize `Current'. local l_button: EV_BUTTON l_menu_bar: EV_MENU_BAR l_menu: EV_MENU l_menu_item: EV_MENU_ITEM do Precursor {EV_TITLED_WINDOW} create l_button.make_with_text_and_action ("Dialog", agent on_dialog) extend (l_button) create l_menu_bar create l_menu.make_with_text ("File") l_menu_bar.extend (l_menu) set_menu_bar (l_menu_bar) create l_menu_item.make_with_text_and_action ("Dialog", agent on_dialog) l_menu.extend (l_menu_item) close_request_actions.extend (agent on_close) end on_dialog is local l_dialog: EV_DIALOG l_cancel: EV_BUTTON l_ok: EV_BUTTON l_hbox: EV_HORIZONTAL_BOX do create l_dialog create l_hbox create l_ok.make_with_text ("OK") l_ok.set_minimum_width (80) create l_cancel.make_with_text_and_action ("Cancel", agent on_cancel (l_dialog)) l_cancel.set_minimum_width (80) l_hbox.extend (l_ok) l_hbox.disable_item_expand (l_ok) l_hbox.extend (l_cancel) l_hbox.disable_item_expand (l_cancel) l_dialog.extend (l_hbox) l_dialog.set_default_cancel_button (l_cancel) l_dialog.show_modal_to_window (Current) end on_cancel (a_dialog: EV_DIALOG) is require a_dialog_not_void: a_dialog /=3D Void do print ("Cancel%N") a_dialog.destroy end on_close is --=20 do (create {EV_ENVIRONMENT}).application.destroy end =09 feature {NONE} -- Implementation is_in_default_state: BOOLEAN is -- Is `Current' in its default state? do -- Re-implement if you wish to enable checking -- for `Current'. Result :=3D True end end -------------------------------------=20 If after starting the application you open the dialog box from the menu bar, then the close button is not responsive. If however you open the dialog box from the big button in the middle of the main window then the close button works. Note that after you made it work from the big button it will now work from the menu bar as well. So you'll have to restart the application if you want to reproduce the problem again. A few more notes: * commenting out 'main_window.set_focus' in MY_APPLICATION has no effect on the behavior. * setting the OK button with `set_default_push_button' will make the close button work, even when launched from the menu bar. * I managed to reproduce the problem both on Windows 2000 at AXA and on Windows XP at home. -- Eric Bezault > -----Original Message----- > From: ISE Customer Support [mailto:bugs@support.eiffel.com]=20 > Sent: Friday, April 01, 2005 9:17 AM > To: Eric Bezault > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > Dear Eric, >=20 > We tested your dialog in a small example and are unable to reproduce > the problem. Do you have an example set up on a system that we can=20 > access remotely? This will enable us to better understand exactly > what is happening. >=20 > With best regards, > The Customer Support Team >=20 > -------------------------------------------------------------=09 > Answer prepared by: Julian Rogers >=20 > Eiffel Software, 356 Storke Road, Goleta CA 93117=09 > 805-685-1006, fax 805-685-6869,=09 > Customer support: http://support.eiffel.com=09 > Product information: info@eiffel.com=09 > ------------------------------------------------------------- =09 > To answer this message, use the `reply' button of your mail=09 > tool without changing the `subject' header.=09 > ------------------------------------------------------------- =09 >=20 From: "Eric Bezault" To: Cc: Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG Date: Sun, 5 Jun 2005 08:00:04 -0700 Did you make any progress on this bug? -- Eric Bezault =20 > -----Original Message----- > From: Eric Bezault=20 > Sent: Sunday, April 10, 2005 3:14 AM > To: 'bugs@support.eiffel.com' > Subject: RE: EiffelVision_2/4462: Close button of an EV_DIALOG >=20 > Hello Julian, >=20 > I managed to reproduce the problem on a small example: >=20 > -------------------------------------=20 > class MY_APPLICATION >=20 > inherit >=20 > EV_APPLICATION >=20 > create >=20 > make_and_launch >=20 > feature {NONE} -- Initialization >=20 > make_and_launch is > -- Create `Current', build and display=20 > `main_window', > -- then launch the application. > do > default_create > create main_window > main_window.set_size (600, 400) > main_window.show > main_window.set_focus > launch > end >=20 > feature {NONE} -- Implementation >=20 > main_window: MAIN_WINDOW > -- Main window of `Current' >=20 > end > -------------------------------------=20 > class MAIN_WINDOW >=20 > inherit >=20 > EV_TITLED_WINDOW > redefine > initialize, is_in_default_state > end >=20 > feature {NONE} -- Initialization >=20 > initialize is > -- Initialize `Current'. > local > l_button: EV_BUTTON > l_menu_bar: EV_MENU_BAR > l_menu: EV_MENU > l_menu_item: EV_MENU_ITEM > do > Precursor {EV_TITLED_WINDOW} > create=20 > l_button.make_with_text_and_action ("Dialog", agent on_dialog) > extend (l_button) > create l_menu_bar > create l_menu.make_with_text ("File") > l_menu_bar.extend (l_menu) > set_menu_bar (l_menu_bar) > create=20 > l_menu_item.make_with_text_and_action ("Dialog", agent on_dialog) > l_menu.extend (l_menu_item) > close_request_actions.extend (agent on_close) > end >=20 > on_dialog is > local > l_dialog: EV_DIALOG > l_cancel: EV_BUTTON > l_ok: EV_BUTTON > l_hbox: EV_HORIZONTAL_BOX > do > create l_dialog > create l_hbox > create l_ok.make_with_text ("OK") > l_ok.set_minimum_width (80) > create=20 > l_cancel.make_with_text_and_action ("Cancel", agent on_cancel=20 > (l_dialog)) > l_cancel.set_minimum_width (80) > l_hbox.extend (l_ok) > l_hbox.disable_item_expand (l_ok) > l_hbox.extend (l_cancel) > l_hbox.disable_item_expand (l_cancel) > l_dialog.extend (l_hbox) > l_dialog.set_default_cancel_button (l_cancel) > l_dialog.show_modal_to_window (Current) > end >=20 > on_cancel (a_dialog: EV_DIALOG) is > require > a_dialog_not_void: a_dialog /=3D Void > do > print ("Cancel%N") > a_dialog.destroy > end >=20 > on_close is > --=20 > do > (create {EV_ENVIRONMENT}).application.destroy > end > =09 > feature {NONE} -- Implementation >=20 > is_in_default_state: BOOLEAN is > -- Is `Current' in its default state? > do > -- Re-implement if you wish to enable checking > -- for `Current'. > Result :=3D True > end >=20 > end > -------------------------------------=20 >=20 > If after starting the application you open the dialog box from the > menu bar, then the close button is not responsive. If however you > open the dialog box from the big button in the middle of the main > window then the close button works. Note that after you made it work > from the big button it will now work from the menu bar as well. So > you'll have to restart the application if you want to reproduce the > problem again. >=20 > A few more notes: >=20 > * commenting out 'main_window.set_focus' in MY_APPLICATION has > no effect on the behavior. >=20 > * setting the OK button with `set_default_push_button' will make > the close button work, even when launched from the menu bar. >=20 > * I managed to reproduce the problem both on Windows 2000 at AXA > and on Windows XP at home. >=20 > -- > Eric Bezault >=20 >=20 > > -----Original Message----- > > From: ISE Customer Support [mailto:bugs@support.eiffel.com]=20 > > Sent: Friday, April 01, 2005 9:17 AM > > To: Eric Bezault > > Subject: EiffelVision_2/4462: Close button of an EV_DIALOG > >=20 > > Dear Eric, > >=20 > > We tested your dialog in a small example and are unable to reproduce > > the problem. Do you have an example set up on a system that we can=20 > > access remotely? This will enable us to better understand exactly > > what is happening. > >=20 > > With best regards, > > The Customer Support Team > >=20 > > -------------------------------------------------------------=09 > > Answer prepared by: Julian Rogers > >=20 > > Eiffel Software, 356 Storke Road, Goleta CA 93117=09 > > 805-685-1006, fax 805-685-6869,=09 > > Customer support: http://support.eiffel.com=09 > > Product information: info@eiffel.com=09 > > ------------------------------------------------------------- =09 > > To answer this message, use the `reply' button of your mail=09 > > tool without changing the `subject' header.=09 > > ------------------------------------------------------------- =09 > >=20 >=20