Re: [api-dev] XDispatchProviderInterceptor - menu entries stay disabled ...

2008-02-10 Thread Tobias Krais
Hi Carsten, > What you have found is an optimization for the menu implementation. > Status updates are not very cheap and the current states of the menu > entries are not visible to the user. The menu contains about 300 entries > and can have a significant performance impact for status updates. >

Re: [api-dev] XDispatchProviderInterceptor - menu entries stay disabled ...

2008-02-10 Thread Carsten Driesner
Oliver Brinzing schrieb: Hi, i have a problem with a XDispatchProviderInterceptor and menu entries Scenario: If a user changes to a sheet named "Tabelle2" i register a XDispatchProviderInterceptor. Now all GUI elements with URL "macro:///InterceptorDemo" should be disabled. I added entrie

Re: [api-dev] Macros: argument is not optional

2008-02-10 Thread Johnny Rosenberg
2008/2/10, Jonathan Kaye <[EMAIL PROTECTED]>: > > Hi all, > Trying to write these Basic macros is extremely frustrating. I'm sure I'm > missing some basic documentation somewhere but I can't find it for the > life > of me. > I have written the follow macro: > Function SimpSet(ProcessString) As Stri

Re: [api-dev] Macros: argument is not optional

2008-02-10 Thread Ariel Constenla-Haile
Hi Jonathan, Jonathan Kaye escribió: Hi all, Trying to write these Basic macros is extremely frustrating. I'm sure I'm missing some basic documentation somewhere but I can't find it for the life of me. * although it may be obvious: press F1 to open OOo Help, in the tab "Contents" you'll see t

[api-dev] Solution: argument is not optional

2008-02-10 Thread Jonathan Kaye
Jonathan Kaye wrote: My problem was that I was running the macro from the Openoffice.org Basic Macros window (I hit the "Run" button) which gave me the argument not optional error message. When I enter the macro in the spread sheet it runs without error which enabled be to correct the macro to th

[api-dev] Macros: argument is not optional

2008-02-10 Thread Jonathan Kaye
Hi all, Trying to write these Basic macros is extremely frustrating. I'm sure I'm missing some basic documentation somewhere but I can't find it for the life of me. I have written the follow macro: Function SimpSet(ProcessString) As String Dim Position As Integer Position = InStr(Pr