From: colotechpro@... (John Reed) Date: 2003-05-21T13:16:06+09:00 Subject: Re: FXRuby - FXMainWindow question I did as you suggested and put the entry portion of my database on a dialog box. I just issue this command to show the dialog box: @@dialog.show If I have the dialog box accept and cancel message identifiers tied to a menu item, how can I capture what menu option was taken when the control returns to my main class? FXMenuCommand.new(filemenu, "&Accept", nil, self, ID_ACCEPT) FXMenuCommand.new(filemenu, "&Cancel", nil, self, ID_CANCEL) Thanks, John