Thanks Robby,
When I use (define main-frame (new frame:text%)) case 1 below it gives me save, save all, print etc. in the file menu but now:
a) the panel with the buttons I define is at the bottom not the top.
b) I can't figure out how to modify the initial editor characteristics when the application starts (different font, different size etc.) or the editor-canvas% characteristics (different background) as I was able to when I used (define main-frame (new frame:standard-menus%))
c) I can't figure out how to now apply set-max-undo-history so I can use the undo feature.
How do I get the horizontal-panel with my buttons to display at the top ?
How do I access and set the characteristics of the editor% and the editor-canvas% ?
How do I set se-max-undo-history ?
CASE 1 using (define main-frame (new frame:text%)) Menus OK but issues stated above.
----------------------------------------------------------------------------------------
#lang racket/gui
(require framework)
(application:current-app-name "Sanskrit editor") ;;framework
(define main-frame (new frame:text% ))
CASE 2 using (define main-frame (new frame:text% )) The panel with my buttons is correctly placed at top and I can change editor% and editor-canvas% properties but no "save" and "save all" and "new" doesn't work correctly in "file" menu.
--------------------------------------------------------------------------------------