OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

oOo Basic Command

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
kpitn
Newbie
Newbie


Joined: 03 Feb 2005
Posts: 4

PostPosted: Fri Feb 11, 2005 5:36 am    Post subject: oOo Basic Command Reply with quote

Hi,


I want to do the same thing than that :
Code:
OfficeCommand command = new OfficeCommand(IDCOMMAND_MENUBAR);
command.appendParameter("MenuBarVisible", new Boolean(visible));
command.execute(this);


But in oOo Basic

How can i do That ?
Back to top
View user's profile Send private message
Cybb20
Super User
Super User


Joined: 02 Mar 2004
Posts: 1569
Location: Frankfurt, Germany

PostPosted: Fri Feb 11, 2005 6:27 am    Post subject: Reply with quote

this is ucb stuff and I generally don't like the way you do these dispatch calls.
It's much nicer, in my opinion, to use the dispatchhelper service as described in many threads already but the one you want to execute is put down here:
http://www.oooforum.org/forum/viewtopic.phtml?t=6890

Hope this helps.
Christian
_________________
- Knowledge is Power -
Back to top
View user's profile Send private message Send e-mail
DannyB
Moderator
Moderator


Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Sat Feb 12, 2005 11:07 am    Post subject: Re: oOo Basic Command Reply with quote

kpitn wrote:

I want to do the same thing than that :
Code:
OfficeCommand command = new OfficeCommand(IDCOMMAND_MENUBAR);
command.appendParameter("MenuBarVisible", new Boolean(visible));
command.execute(this);

But in oOo Basic
How can i do That ?


I wish I understood your question. I don't understand the question.
_________________
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group