I find myself doing a lot of code editing, i.e. cut, copy,
and paste, as well as 'replace'. So I want to reorder the menus to put the most used commands at the top. For those of you that would suggest I use the keyboard shortcuts, the problem is I use a left-handed mouse so would have to constantly move my hand from the mouse to keyboard, which kind of defeats the purpose of the shortcuts. Anyway, does anyone know what methods need to be changed to reorder the menus? I tried changing #mainMenu but when I reopened the RB after reloading the menus I got an exception. I then tried to do #initializeMenus with no code changes and again got an exception after reopening the browser. At this point I thought it best to ask for help. Terry =========================================================== Terry Raymond Crafted Smalltalk 80 Lazywood Ln. Tiverton, RI 02878 (401) 624-4517 [hidden email] <http://www.craftedsmalltalk.com> =========================================================== _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Dear Terry,
>... does anyone know what methods need to be changed to >reorder the menus? I tried changing #mainMenu but when I >reopened the RB after reloading the menus I got an exception. > >I then tried to do #initializeMenus with no code changes and >again got an exception after reopening the browser. At this >point I thought it best to ask for help. > Try BrowserApplicationModel flushMenus. (I would not expect mere order rearrangement would cause DNU, but maybe prudent to close all browsers before doing it.) If you were adding or removing any commands then RBCommand flushActions. would also be necessary; not needed in this case, however. In 7.7 and after, some menu items are added by pragmas, so reordering would require changing the value in the pragma. I think those are rare in 7.6 so unlikely to affect you. HTH. Yours faithfully Niall Ross _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
My mailer bounced back the message to terry - trying again.
>Dear Terry, > > > >>... does anyone know what methods need to be changed to >>reorder the menus? I tried changing #mainMenu but when I >>reopened the RB after reloading the menus I got an exception. >> >>I then tried to do #initializeMenus with no code changes and >>again got an exception after reopening the browser. At this >>point I thought it best to ask for help. >> >> >> >Try > BrowserApplicationModel flushMenus. >(I would not expect mere order rearrangement would cause DNU, but maybe >prudent to close all browsers before doing it.) > >If you were adding or removing any commands then > RBCommand flushActions. >would also be necessary; not needed in this case, however. > >In 7.7 and after, some menu items are added by pragmas, so reordering >would require changing the value in the pragma. I think those are rare >in 7.6 so unlikely to affect you. > >HTH. > Yours faithfully > Niall Ross > >_______________________________________________ >vwnc mailing list >[hidden email] >http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > > > _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |