selecting_20and_20copying_20using_20the_20mouse
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
selecting_20and_20copying_20using_20the_20mouse [2018/03/31 13:19] – external edit 127.0.0.1 | selecting_20and_20copying_20using_20the_20mouse [2024/01/05 00:21] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Selecting and copying using the mouse===== | =====Selecting and copying using the mouse===== | ||
- | //by Richard Russell, May 2006, amended October 2009//\\ \\ | + | //by Richard Russell, May 2006, amended October 2009// |
===== Selecting and copying text ===== | ===== Selecting and copying text ===== | ||
- | \\ | + | |
+ | Many Windows programs allow you to select a block of text by // | ||
+ | |||
+ | <code bb4w> | ||
ON MOUSE PROCmouse: | ON MOUSE PROCmouse: | ||
- | Then copy the code below into your program where it will not get in the way (for example at the very end):\\ \\ | + | </ |
+ | |||
+ | Then copy the code below into your program where it will not get in the way (for example at the very end): | ||
+ | |||
+ | <code bb4w> | ||
DEF PROCmouse | DEF PROCmouse | ||
LOCAL H%, | LOCAL H%, | ||
Line 91: | Line 99: | ||
SYS " | SYS " | ||
= T% | = T% | ||
- | Once this code has been added to your program you can highlight a rectangular block of text by // | + | </ |
+ | |||
+ | Once this code has been added to your program you can highlight a rectangular block of text by // | ||
===== Selecting and copying graphics ===== | ===== Selecting and copying graphics ===== | ||
- | \\ | + | |
+ | The code below implements a similar facility to the above, but allows you to select and copy graphics rather than text.\\ \\ To use this code first add the following line near the beginning of your program: | ||
+ | |||
+ | <code bb4w> | ||
ON MOUSE PROCmouse: | ON MOUSE PROCmouse: | ||
- | Then copy the code below into your program where it will not get in the way (for example at the very end):\\ \\ | + | </ |
+ | |||
+ | Then copy the code below into your program where it will not get in the way (for example at the very end): | ||
+ | |||
+ | <code bb4w> | ||
DEF PROCmouse | DEF PROCmouse | ||
LOCAL D%, | LOCAL D%, | ||
Line 176: | Line 194: | ||
SYS " | SYS " | ||
= T% | = T% | ||
+ | </ | ||
+ | |||
Once this code has been added to your program you can select a rectangular region by // | Once this code has been added to your program you can select a rectangular region by // |
selecting_20and_20copying_20using_20the_20mouse.1522502380.txt.gz · Last modified: 2024/01/05 00:16 (external edit)