Ask Your Question

oDispatcher.executeDispatch question

asked 2018-12-13 04:44:24 +0200

Todd2 gravatar image

In the following line, what does the "0"" do and are there any other values that can be used? (I can't find a reference for this command.)

 fnDispatch = oDispatcher.executeDispatch(oFrame, ".uno:" & sCommand, "", 0, Args())
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-12-13 05:47:00 +0200

Ratslinger gravatar image

updated 2018-12-13 05:47:38 +0200


That argument does nothing. From OOME (Andrew Pitonyak):

Optional search flags that indicate how to find the target frame. Use zero or blank (see Listing 242), because it is not supported.

Further info can be found in that document in section 11. The Dispatcher.

Also see -> interface XDispatchHelper

edit flag offensive delete link more


Parameter SearchFlags optional search parameter for finding the frame if no special TargetFrameName was used

Thank you. I could not find that reference!

Todd2 gravatar imageTodd2 ( 2018-12-13 08:16:10 +0200 )edit

I need a link to "11. The Dispatcher"

Todd2 gravatar imageTodd2 ( 2018-12-15 12:21:41 +0200 )edit


Have already given this to you in other answers.

Ratslinger gravatar imageRatslinger ( 2018-12-15 17:09:56 +0200 )edit

And I still can't find it. I have looked several times and can not find what you are speaking of. Is there some reason why you are withholding information? A link would solve the issue.

Todd2 gravatar imageTodd2 ( 2018-12-15 23:48:21 +0200 )edit

See this comment -> link to comment.

Ratslinger gravatar imageRatslinger ( 2018-12-16 00:09:53 +0200 )edit

The oome pdf, page 264. Thank you!

Todd2 gravatar imageTodd2 ( 2018-12-16 10:11:49 +0200 )edit

The link is, chapter 11, page 264

Todd2 gravatar imageTodd2 ( 2018-12-16 10:21:47 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-12-13 04:44:24 +0200

Seen: 119 times

Last updated: Dec 13 '18