I have seen the same sort of results: your modal stack has no menubar of it's own, so in the IDE, it just uses the default Rev menu for whatever state it is in. When you run the standalone, it looks up the hierarchy to find a menubar to display and the one it gets to is the mainStack's i.e. the splash screen.
If you set the defaultMenubar, it tells the application which menu to display for stacks that have no menu of their own. I think you will still get Rev menus in the IDE, but the menus will work fine in your application (& possibly when suspending the Development tools).
Cheers, Sarah [EMAIL PROTECTED] http://www.troz.net/Rev/
On Thursday, August 14, 2003, at 04:13 am, Rob Cozens wrote:
Hi All,
I am testing an SDB search engine in Rev 2.02 on Mac OS 10.2.
The search is initiated by menuPick logic, including:
modal stack "sdbDatabase Search"
The main search logic in the dialog stack is:
lock messages push card go invisible to card firstPage of stack sdbFileName repeat if searchKeys then find targetText in field "Record Key" else find targetText in field "Record" [snip] end repeat pop card unlock messages
If the search criteria requests the first hit, the modal stack closes and the calling stack loads the record; if multiple hits are requested, the modal stack displays them in a list field, which includes a mouseUp handler to close the stack and return the selected record.
The anomalies are:
* In the Development environment, modal stack "sdbDatabase Search" changes the menubar to the Rev Dev menubar. When the modal stack closes after the search, the menubar for the database stack (which was visited invisibly) is displayed.
* If Development Tools are suspended, modal stack "sdbDatabase Search" changes the menubar to the Rev Restore Development Tools menubar. When the modal stack closes after the search, the correct menubar is displayed.
* In the standalone, modal stack "sdbDatabase Search" changes the menubar to the splash screen menubar. When the modal stack closes after the search, the correct menubar is displayed.
I guess the next step would be to see if the behavior changes if the modal stack is opened in modeless form, or if a menubar is added to > it.
Right now I have other fish to fry; so if anyone can offer any insights or work-arounds, your input would be appreciated.
--
Rob Cozens, CCW
Serendipity Software Company
http://www.oenolog.net/who.htm
"And I, which was two fooles do so grow three. Who are a little wise, the best fooles bee."
From "The Triple Foole" by John Donne 1573-1631 _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
