> -----Original Message----- > I´m trying to avoid my app´s main window to appear until I > select a menuitem. But as the app runs I see that at the > eventloop (seen in the debugger) one of the controls of that > window (a popupmenu) initializes itself. What can I be > missing? Can it be that the suspect window has a timer on > it? Or am I completely missing something important here?
Are you referencing that popupmenu in code that runs in your application class (or any where else outside the window itself)? If you have a method that executes and it makes reference to MainWindow.popupmenu1, for example, then I believe the MainWindow will be automatically instantiated and will show itself. There may be a way to prevent it from being visible - maybe unchecking the window's visible property in the IDE would do it. But, I don't have RB on this computer to check any of this, so I could be completely out to lunch. ~Walter _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
