BBC BASIC for Windows
« Open two windows in BBC interface? »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 11:34pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Open two windows in BBC interface?  (Read 560 times)
fisherhj
New Member
Image


member is offline

Avatar




PM


Posts: 2
xx Open two windows in BBC interface?
« Thread started on: Aug 31st, 2012, 2:04pm »

I'd like to move blocks of code easily from one program to another. Right now the only way I can see to do this is to open the source program, copy, close it, open the target program, paste. It would be a lot easier if I could have two programs open at once in separate windows. Is there any way to do this? If not, is there a faster way to move code from one program to another?
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Open two windows in BBC interface?
« Reply #1 on: Aug 31st, 2012, 4:01pm »

on Aug 31st, 2012, 2:04pm, fisherhj wrote:
It would be a lot easier if I could have two programs open at once in separate windows. Is there any way to do this?

Yes, you can run two (or more) 'instances' of BB4W at the same time, and then copy-and-paste or drag-and-drop between the editor windows. I commonly do that when I want to transfer code from an existing program into a new one.

In fact it's designed specifically to support that because it will notice if you have made an edit to a program which is also open in another instance, and warn you if you attempt to perform a save which would cause that edit to be discarded.

I would recommend that you treat all but one of the instances as 'read only' because the auto-recovery of an unsaved program which crashes may not work if there are two or more unsaved programs open.

Richard.
User IP Logged

Matt
Developer

member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Open two windows in BBC interface?
« Reply #2 on: Apr 27th, 2013, 06:52am »

on Aug 31st, 2012, 4:01pm, Richard Russell wrote:
I would recommend that you treat all but one of the instances as 'read only'


I can't find a 'switch' to allow this. Is there one, or are you just suggesting that you make no changes to all but one?

Matt
User IP Logged

admin
Administrator
ImageImageImageImageImage


member is offline

Avatar




PM


Posts: 1145
xx Re: Open two windows in BBC interface?
« Reply #3 on: Apr 27th, 2013, 08:46am »

on Apr 27th, 2013, 06:52am, Matt wrote:
are you just suggesting that you make no changes to all but one?

That's right - it's why I said 'treat' all but one of the instances as read-only: it's a user discipline rather than something enforced technically.

If you do (deliberately or accidentally) make changes to two or more instances of the same program, BB4W will warn you if you try to save the 'older' version, i.e. the one which doesn't have the most recent changes.

If the reason you have two (or more) instances open is to copy code from one program to another, you could always make the file that you don't want to modify read-only. That won't stop you making changes to it in the editing pane, but you won't be able to save them.

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls