Re: Problem with Edit/Preference Menu Item

2006-04-18 Thread David Burgun

Hi Again,

I've been at this at least 7 hours now and I just can't think of  
anything else to try. There really isn't much that can go wrong  
script wise. As far as I can tell this just plain doesn't work! If  
the docs told you a little more it might be possible to try to track  
the problem down but as it is


Guess I'll just have to ship this App with a disabled Preferences  
Item in the Application Menu and an Enabled Preferences Item in the  
Edit menu, I hate doing it,  but I don't have any other choice.


All the Best
Dave

On 18 Apr 2006, at 16:13, David Burgun wrote:


Hi,

I meant to say that the Apple Menu and the Help Menu are handled ok  
and work just fine, it's just the preference item that is causing  
problems. I've been looking at this on and off for over 5 hours now  
and I just can't seem to make this work as documented.


All the Best
Dave


On 18 Apr 2006, at 13:20, David Burgun wrote:


Hi All,

I have a Stack that creates a Menu Bar and then Populates the  
Buttons and Items within the Buttons. This works fine except that  
he preferences menu item doesn't seem to be being moved to the App  
Menu correctly. When I look at the menubar, the edit menu still  
has the "Preferences..." text and a separator as the last two  
items and if I select it, it works fine. There is a "Preferences"  
Item in the Application Menu but it's disabled.


I've had something like this before using the Menu Builder Tool  
and I eventually resolved it by recreating the Edit Menu. However,  
since I am now doing this dynamically in a script, I don't have  
that option. It's deleted and rebuilt each time the Application is  
loaded.


Any ideas on how to track this down??

Thanks a Lot
Dave

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


Re: Problem with Edit/Preference Menu Item

2006-04-18 Thread J. Landman Gay

David Burgun wrote:
> Hi,
>
> Tried it but it made no difference, the other "special" menu items  work
> ok, one of the differences is that (according to the docs)  with  the
> Edit/Preferences item, it checks for the item starting  "Preferences", I
> am wondering if it's comparing incorrectly. I cut  and pasted the
> "Preferences" text from one that was made by the menu  builder.
>
> I get the same problem in the standalone too if that's any help.

Can you post the relevant parts of the script?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Problem with Edit/Preference Menu Item

2006-04-18 Thread David Burgun

Hi,

Tried it but it made no difference, the other "special" menu items  
work ok, one of the differences is that (according to the docs)  with  
the Edit/Preferences item, it checks for the item starting  
"Preferences", I am wondering if it's comparing incorrectly. I cut  
and pasted the "Preferences" text from one that was made by the menu  
builder.


I get the same problem in the standalone too if that's any help.

All the Best
Dave


Sometimes you need to force a menu update. Try:

  lock menus
  -- do menu swap stuff
  unlock menus


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


Re: Problem with Edit/Preference Menu Item

2006-04-18 Thread J. Landman Gay

David Burgun wrote:

Hi,

I meant to say that the Apple Menu and the Help Menu are handled ok  and 
work just fine, it's just the preference item that is causing  problems. 
I've been looking at this on and off for over 5 hours now  and I just 
can't seem to make this work as documented.


Sometimes you need to force a menu update. Try:

  lock menus
  -- do menu swap stuff
  unlock menus

According to Scott Raney, menu updating is *very* slow on Macs and the 
engine doesn't go out of its way to change the visual appearance unless 
absolutely necessary. If your script is resetting menu contents, the 
engine may not realize it. Locking/unlocking menus forces it to pay 
attention.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Problem with Edit/Preference Menu Item

2006-04-18 Thread David Burgun

Hi,

I meant to say that the Apple Menu and the Help Menu are handled ok  
and work just fine, it's just the preference item that is causing  
problems. I've been looking at this on and off for over 5 hours now  
and I just can't seem to make this work as documented.


All the Best
Dave


On 18 Apr 2006, at 13:20, David Burgun wrote:


Hi All,

I have a Stack that creates a Menu Bar and then Populates the  
Buttons and Items within the Buttons. This works fine except that  
he preferences menu item doesn't seem to be being moved to the App  
Menu correctly. When I look at the menubar, the edit menu still has  
the "Preferences..." text and a separator as the last two items and  
if I select it, it works fine. There is a "Preferences" Item in the  
Application Menu but it's disabled.


I've had something like this before using the Menu Builder Tool and  
I eventually resolved it by recreating the Edit Menu. However,  
since I am now doing this dynamically in a script, I don't have  
that option. It's deleted and rebuilt each time the Application is  
loaded.


Any ideas on how to track this down??

Thanks a Lot
Dave

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


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


Problem with Edit/Preference Menu Item

2006-04-18 Thread David Burgun

Hi All,

I have a Stack that creates a Menu Bar and then Populates the Buttons  
and Items within the Buttons. This works fine except that he  
preferences menu item doesn't seem to be being moved to the App Menu  
correctly. When I look at the menubar, the edit menu still has the  
"Preferences..." text and a separator as the last two items and if I  
select it, it works fine. There is a "Preferences" Item in the  
Application Menu but it's disabled.


I've had something like this before using the Menu Builder Tool and I  
eventually resolved it by recreating the Edit Menu. However, since I  
am now doing this dynamically in a script, I don't have that option.  
It's deleted and rebuilt each time the Application is loaded.


Any ideas on how to track this down??

Thanks a Lot
Dave

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