I guess one way to do that is to add a new wd cmd (eg menuclear)
to clear all menu so that we can start add menu to the form again.

Вс, 13 сен 2015, Chris Burke написал(а):
> > My form takes a noticeable time to repaint. I don't want to do that.
> 
> I am a little surprised by this. Does your repaint include some computation
> that could have been done up front?
> 
> > But I see with JQt it's possible to define two separate forms for the same
> app. If one of them specifies no menus, it lets you see the menus of the
> other form – even when it's got focus!
> 
> How did you do that?
> 
> I suppose we should allow redefining the menubar on the fly.
> 
> 
> 
> On 13 September 2015 at 05:32, Ian Clark <[email protected]> wrote:
> 
> > My form takes a noticeable time to repaint. I don't want to do that.
> >
> > But I see with JQt it's possible to define two separate forms for the
> > same app. If one of them specifies no menus, it lets you see the menus
> > of the other form – even when it's got focus! At least, it does on the
> > Mac (…under Snow Leopard).
> >
> > I conjecture it's possible to split my form into a menu-less and a
> > menus-only form. The latter will be a lot less pain to recreate – and
> > easily reconfigured like this:
> >
> >    wd MYMENUSONLY rplc 'Repeat Last Action' ; 'Repeat "Delete Line"'
> >
> > The same trick will let me offer an up-to-the-minute MRU list attached
> > to the File menu.
> >
> > Maybe there are gotchers. Maybe it won't work on all platforms. But
> > it's worth me doing some experiments. Anyone care to try it with
> > MSWin? (I can see a sticky "fellow traveller" being needed for the
> > main window, consisting only of a menubar.)
> >
> > On Sat, Sep 12, 2015 at 2:49 AM, chris burke <[email protected]> wrote:
> > > You can create a new form to replace the old, positioning exactly over
> > the
> > > old. This should happen fast enough to be unnoticeable.
> > >
> > > I cannot think of examples in J8, but this was done in J6, for example
> > with
> > > the Find and Replace dialogs.
> > >
> > > On 11 September 2015 at 15:56, bill lam <[email protected]> wrote:
> > >
> > >> I think these functions are not implemented.
> > >> On Sep 12, 2015 4:50 AM, "Ian Clark" <[email protected]> wrote:
> > >>
> > >> > With jwd in JQt, how do I change the text of a given item in an
> > >> > existing set of menus?
> > >> >
> > >> > E.g. to state precisely what action I'm offering to Undo / Repeat /
> > etc?
> > >> >
> > >> > An allied problem is to add items to an existing menu, e.g. to provide
> > >> > a MRU facility.
> > >> > ----------------------------------------------------------------------
> > >> > For information about J forums see
> > http://www.jsoftware.com/forums.htm
> > >> >
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see http://www.jsoftware.com/forums.htm
> > >>
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to