HappyTomato
New member
- Joined
- Apr 4, 2006
- Messages
- 4
- Programming Experience
- 1-3
in my application a module calls a form load statement to display a form with something like myform.definstance.showdialog(), then the codes in the myform_load sub-routine loads and the form become visible. i want it so that user can click on the 'minimize to tray' button on the form and the form will disappear and user can resume the form through the tray icon (which is currently displaying properly) .. however the problem i'm having is that once the user clicks on that button, it goes to that sub-routine that handles the button's onclick event, runs a line of code to hide the form, then exit that sub-routine, but when it exits the sub routine, it exits the whole myform module and escapes back to the startup module that called the myform.definstance.show(), thus terminating the application..
any ideas on how i could fix that? any help will be greatly appreciated.. =)
any ideas on how i could fix that? any help will be greatly appreciated.. =)