Modifying a menu in D6?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Modifying a menu in D6?

Donald MacQueen-2
I have created a shell with a menu and saved it. But when I go into the Menu
Composer to add items to the menu, the composer will add 'untitled
command's, but will not let me change their attributes or rename them.

I have been messing with this all evening. Any help appreciated.


Reply | Threaded
Open this post in threaded view
|

Re: Modifying a menu in D6?

Stefan Schmiedl
As an experience "messer", I'd recommend trying this again
- after one or more applications of 'Panic'
- in a clean image

HTH,
s.


Reply | Threaded
Open this post in threaded view
|

Re: Modifying a menu in D6?

Schwab,Wilhelm K
In reply to this post by Donald MacQueen-2
Don,

> I have created a shell with a menu and saved it. But when I go into the Menu
> Composer to add items to the menu, the composer will add 'untitled
> command's, but will not let me change their attributes or rename them.
>
> I have been messing with this all evening. Any help appreciated.

Are you getting any walkbacks?  I assume not.

Are you using the menu editor or are you digging into the menu using the
PAI on the VC?  The latter can be a little tricky if you don't have much
experience with it.  It works, but I sometimes have to remind myself
that it is a generic aspect editor, not a customized GUI for menu editing.

You say it "won't let you" modify the attributes; does that mean some
commands are grayed out?  If so, the next place I would look is any
#queryCommand: methods that might be relevant.  Warning: debugging them
can be tricky, as they are called _often_.  It's a longshot, but perhaps
OA has an error trap that is causing something to silently default to
disabled.  If you want to find out what is happening in #queryCommand:,
the best way might be to use the global Trace and DebugView
(http://www.sysinternals.com/Utilities/DebugView.html).

As a variant on the Trace idea, you might figure out where it is (or
should be) going to do what you want and see how far it gets.  Obviously
that can be an exercise in futitility if you are wrong about the entry
point.

Apologies for this last one: if working in the PAI, are you using accept
(control-s) when necessary?  The ledger green fields are workspaces and
require an accept; the rest will update on Enter.  As I said, appologies
if that's beneath you.

Sorry I can't be of any real help.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Modifying a menu in D6?

Andy Bower-3
In reply to this post by Donald MacQueen-2
Donald,

> I have created a shell with a menu and saved it. But when I go into
> the Menu Composer to add items to the menu, the composer will add
> 'untitled command's, but will not let me change their attributes or
> rename them.

Hmmm.. sounds odd. Can you give me steps to reproduce what you see.
Also, are you using Win XP?

Best regards,

--
Andy Bower
Dolphin Support
www.object-arts.com


Reply | Threaded
Open this post in threaded view
|

Re: Modifying a menu in D6?

Donald MacQueen-2
I did not have any zombies, but starting with a clean image as Stefan
suggested solved the problem.

It was very strange - the OK button on the CommandMenuItemDialog was
returning false, the Package Browser would not add classes it said were
uncommitted, etc.

I've been mucking about with COM, so I shall have to remember to save my
image early and often.

Thanks to all.

Onward through the fog!

Donald

"Andy Bower" <[hidden email]> wrote in message
news:[hidden email]...

> Donald,
>
>> I have created a shell with a menu and saved it. But when I go into
>> the Menu Composer to add items to the menu, the composer will add
>> 'untitled command's, but will not let me change their attributes or
>> rename them.
>
> Hmmm.. sounds odd. Can you give me steps to reproduce what you see.
> Also, are you using Win XP?
>
> Best regards,
>
> --
> Andy Bower
> Dolphin Support
> www.object-arts.com