To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75809
Issue #|75809
Summary|API functionality loss (menu items disabling)
Component|api
Version|OOo 2.1
Platform|PC
URL|
OS/Version|Windows 2000
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|definition
Assigned to|jsc
Reported by|sher1
------- Additional comments from [EMAIL PROTECTED] Wed Mar 28 08:18:57 +0000
2007 -------
I have failed to determine which subcomponent I had to choose correctly...
How to reproduce bug (I think it is bug):
1. Start Writer;
2. Add this macro to Standard basic library:
sub tweakMenu()
on error goto ErrH
dim xMenu as object
xMenu =
ThisComponent.getCurrentController.getFrame.LayoutManager.getElement("private:resource/menubar/menubar").XMenuBar
xMenu.enableItem(xMenu.getItemId(1), false)
xMenu.enableItem(xMenu.getItemId(2), false)
exit sub
ErrH:
msgbox error
end sub
3. To run macro you can create toolbar button or use other available methods;
4. Run macro and observe main menu items become grey (color of inactivity);
5. Select these "inactive" menu items or any other main menu items;
6. Watch as "inactive" items become active.
In OOO 2.0.3 all worked as it should, only in OOO 2.1 I detected such behaviour.
OS: Windows 2000, service pack 5.0
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]