One last thing to try:

toplevel "main" 
set the defaultstack to "main" 

Also, if you haven't already, assign the menu to the palette stack too. You may 
need to change the menu scripts to check whether the target stack is the 
palette or not, if some of the commands don't apply to the palette. 

Graham Samuel apparently wrote:
>>Thanks to Peter and Jacque for these suggestions. Sadly, neither of 
>>them worked. Neither did 'click at the loc of this cd' or similar 
>>statements. The only thing that works so far is a real mouse click 
>>in the body of the mainstack window or on its title bar. After that 
>>is done and focus has once reached the mainstack, it doesn't matter 
>>if the palette or the mainstack has the focus, the menu (which is a 
>>group on the first card of the mainstack) works anyway. In the 
>>initial state that I've described, the menu is visible and the 
>>pulldown action works, but none of the menu items do anything, not 
>>even 'quit'. I think I'm looking at an engine bug here, but as usual 
>>it will be a big struggle to isolate it.
>>
>>Still trying to find a cause and a workaround.

-- 
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to