[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
dynamic » CppBuilderGlossary » QbasicFAQ_Mouse » CMemcmp » QbasicFAQ_SoundTutorial » file » Microsoft » bus mastering » SUN » GIF » QbasicFAQ_HowToPaste
Can I "paste" in/out of my programs?


Back to QBasic FAQ Main Page.

YES! Pasting inside QB is easy. You just select your code snippet, text, whatever, then select "Edit", "Copy" from the menu. A faster method though, is to use [Cntrl]+[Insert] to Copy , and [Shift]+[Insert] to Paste. (I believe I've just about worn out my keyboard's Insert and cursor keys!)

You can also copy and paste plain text to and from any Windows program. This is a bit harder becous QBasic and Windows dont use the same "Paste-memory". (WinNT also requires an option change for the display window).

Just run your program in a window (not full screen), and use the copy and paste tools.

To copy from QBasic you have to Right-click the top border of the window and choose Editing -> Highlight. Then highlight the text you want to copy and press Enter (or right-click the top-border and select Editing -> Copy). The text is now in Windows memory!

To paste from Windows in QBasic: Right-click the top border of the window and choose Editing -> Paste. Windows will pass the pasted-in text like it was doing the typing for you!

NOTE: ANY program that supports a full keyboard input, will accept Windows "Paste-In". I've even pasted into QB Programs I have written! - Like QBWrite.

last edited (March 31, 2006) by casio-games.tk, Number of views: 6329, Current Rev: 6 (Diff)

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Site Management by Lars Hagelin at Kontantkort.se.