Re: Removing an accelerator from a menu



Robert Lipman wrote:
Hi,

I have a menu that has the list of most recently used files. When I
generate it I assign an accelerator key to the first file in the list.

New files are inserted to the top of the list. However, now I want to
remove the accelerator from what was the first file in the list which
is now the second file list. Of course when the new file is inserted
the accelerator is added too.

How do I do that? I tried using entryconfigure without success, but
that seems to the most logical way to do it.

Thanks,

Bob Lipman


entryconfigure is the only choice (other than to destroy and recreate the whole menu each time).

If entryconfigure isn't working for you, create a small bit of code that reproduces the problem and we can help you out.

.