library on linux for popupmenus and scroll bars

Discussions related to database technologies, file handling, directories and storage
Post Reply
David Smith
Posts: 1
Joined: Fri 13 Apr 2018, 10:08

library on linux for popupmenus and scroll bars

Post by David Smith » Fri 13 Apr 2018, 10:19

Dear BBC,
I wrote a database in BBC Basic for Windows using pop up menus and scroll bars. At the top of the code is a line
INSTALL @lib$+"WINLIB5"
How can I change this to run with bbcsdl on my Debian 8 Linux? Is there an equivalent in Linux? I assume "WINLIB5" applies just to Windows.
I very much look forward to hearing from you.
Kind regards
David Smith

guest
Site Admin
Posts: 103
Joined: Mon 02 Apr 2018, 09:12

Re: library on linux for popupmenus and scroll bars

Post by guest » Fri 13 Apr 2018, 11:19

David Smith wrote:
Fri 13 Apr 2018, 10:19
Is there an equivalent in Linux? I assume "WINLIB5" applies just to Windows.
There's a near-equivalent to WINLIB2 (dlglib.bbc) but not to WINLIB5. As discussed elsewhere, when writing SDLIDE.bbc I decided to offload the dialogue-box functionality into a library, but not the menu and scrollbar functionality; basically it would have been too difficult and time-consuming to make them sufficiently general-purpose.

So effectively you have two choices: write the code yourself or adapt the code in SDLIDE.bbc. If you happened to create a library as a spinoff that would be great, but as I copped out of doing that I can't really expect you to. ;)

Richard.

Post Reply