BBC BASIC for Windows
Programming >> User Interface >> Menu bar
http://bb4w.conforums.com/index.cgi?board=ui&action=display&num=1394016219

Menu bar
Post by Wendell on Mar 4th, 2014, 10:58pm

How do you get a menu bar on your window program "
" FILE EDIT"
Re: Menu bar
Post by admin on Mar 4th, 2014, 11:42pm

on Mar 4th, 2014, 10:58pm, Wendell wrote:
How do you get a menu bar on your window program

This is covered by the Help documentation:

http://www.bbcbasic.co.uk/bbcwin/manual/bbcwine.html#addingmenu
http://www.bbcbasic.co.uk/bbcwin/manual/bbcwine.html#popupmenu

You can also adapt the supplied example programs GUIDEMO.BBC, MENU.BBC and MENU2.BBC (in the EXAMPLES\WINDOWS folder).

However accessing the Windows GUI is difficult in BBC BASIC and it's probably not something a beginner should attempt. For a long time I have been hoping to resolve this issue by the creation of a GUILIB library, but with no success to date.

I think you said you knew Liberty BASIC. If you want to incorporate menus or any other GUI elements in your program you will find it a lot easier to use LB (or, preferably, my LB clone LB Booster of course!):

http://lbbooster.com/

LB Booster automatically translates your program from Liberty BASIC into BBC BASIC.

Richard.