List Info

Thread: Graying out a menu item?




Graying out a menu item?
user name
2006-01-05 10:50:09
I've written an extension that is to be used by two
different kinds of users: 
MDs and their secretaries.  The secretaries should be able
to use the entire 
functionality, i.e. they should be able to use all menu
items.  However, for 
the MDs at least one menu item should be grayed out.

How do I gray out a menu item?

I could imagine that there are at least two ways, but I've
not been successful 
with any of them:

* Gray out the menu item using the dialog for associating
menu items with
  Basic commands

* Use a basic script that's executed each time OO is
started.

-- 
Dipl.-Phys. Felix E. Klee
Email: fklinuxburg.de (work), felix.kleeinka.de (home)
Tel: +49 721 8307937, Fax: +49 721 8307936
Linuxburg, Goethestr. 15A, 76135 Karlsruhe, Germany

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )