adding Menu in IDE MenuBar

xavier.bury at clearstream.com xavier.bury at clearstream.com
Fri Jan 11 05:24:25 EST 2008


Thierry,

I've done this with the MC ide to add a windows menu for example. I cloned 
the rightmost button/menu and refilled it. Didn't save the IDE and just 
rebuild it at launch which just took 2 seconds. 

Nothing complicated. Keep the scripts in a customproperty and recopy over 
the old script of the cloned button. Works like a charm. Until someone 
added a "Hide tools" checkbox in the menu/palette... :) So it is feasible 
but you have to retest it well each IDE release...

cheers
---------------------=---------------------
Xavier Bury

use-revolution-bounces at lists.runrev.com wrote on 11/01/2008 11:13:59:

> 
>   Merci Xavier,
> 
> 
> > While it is not that hard (you can use the application browser to 
> > see what
> > and where),
> 
> Well, what i've seen so far, it's the RevEditor which changes the all 
> Menubar group,
> or even Glx2 doing the same....
> Mmm, seems a bit overwhelming for my own stuff.
> 
> 
> > i wouldn't touch the IDE. Instead, I would make a sticky
> > window or palette sporting your menu - It would be more compaitible 
> > with
> > future versions of the IDE and you wil have more room for exansion 
> > if need
> > be... The reason is that if the IDE is updated, then you might have to
> > change your plugin.
> 
> yes, xavier, I'm aware of this, but I don't have much space around, 
> and an
> extra menu was just the perfect solution for me :-)
> So, doing this on my own computer,  risking only my live,.....
> and delivering a palette when the time will come to spread out my 
> plugin :-)
> 
> 
> 
> >> when starting a private plug-in ( in Rev IDE ), I would like to
> >> add a new Menu in the standard MenuBar IDE....
> >>
> >> Well, is this easy do to so
> >> without breaking, or having to learn all  the internal logic of the
> >> IDE ,
> >>
> >> and if yes, any hints ?
> _______________________________________________



----------------------------------------------------------------------------
Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911.


-----------------------------------------
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER


More information about the use-livecode mailing list