> I could swear I saw a discussion on this, but can't find it, so
> forgive if I am asking a question that was answered.
> 
> I have a 1.5.2 vtcl and tried to get the menubar accelorators
> to work, to no avail.
> 
> Is there a trick to this?
> 
> I just created a new project, added a frame and compound menu bar
> into that frame.
> 
> I then added a console show, and a few puts 's to see if anything
> was happening with the delete key or control-x, which are setup
> by default. The menu options work, but not the keys.
> 
> any thoughts?

Eric,

    Actually, the menu editor doesn't do the binding for you (at least
the last time I checked).  Tk allows you to specify an accelerator, but
really all it does is put the text in the menu for you.

    If you want the accelerators to actually work, you have to bind them
and hook them up.  In later versions of vTcl, these will be automatically
bound for you if Christian hasn't already done the work.

    So, just add a binding for <CTRL-F> or whatever in the bindings editor
to hook them up.

Damon


_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user

Reply via email to