Search found 26 matches

by davey110
Fri Oct 18, 2024 9:36 pm
Forum: BASIC programs
Topic: RGB SLIDERS
Replies: 0
Views: 13659
Flag: Canada

RGB SLIDERS

This simple program lets you adjust R, G, & B sliders to match a colour, and shows the RGB values to use in a program. It also prints the values on the screen in a format that you can Copy/Paste to the FILL COLOR statement of a Smart BASIC program. Because Copy/Paste does not work on the output of a...
by davey110
Fri Oct 18, 2024 3:15 pm
Forum: Other topics
Topic: Copy/Paste printed output
Replies: 6
Views: 1868
Flag: Canada

Re: Copy/Paste printed output

Thank you. That would also solve the problem.
by davey110
Thu Oct 17, 2024 8:27 pm
Forum: Other topics
Topic: Copy/Paste printed output
Replies: 6
Views: 1868
Flag: Canada

Re: Copy/Paste printed output

I have solved the problem by writing a small program to Read the Clipboard and Print the results from the main program. The main program WRITEs the values to the Clipboard, and then RUNs the second program, which READs the values from the Clipboard and Prints them to the screen. The values on the sc...
by davey110
Thu Oct 17, 2024 5:01 pm
Forum: Other topics
Topic: Copy/Paste printed output
Replies: 6
Views: 1868
Flag: Canada

Re: Copy/Paste printed output

I REMed out the buttons and sliders, and the Copy/Paste works OK. By REMing out various parts of the program, I narrowed it down to Sliders or Buttons. Creating either Sliders or Buttons disables the Copy/Paste ability, even it if it was not in GRAPHICS mode. Without either, it works fine.
by davey110
Thu Oct 17, 2024 3:05 pm
Forum: Other topics
Topic: Copy/Paste printed output
Replies: 6
Views: 1868
Flag: Canada

Re: Copy/Paste printed output

It works fine in other programs, but for this particular program it won't work. I just wondered if sliders or buttons in Graphics mode could interfere with it somehow. I don't understand it either.
Thank you.
by davey110
Wed Oct 16, 2024 8:02 pm
Forum: Other topics
Topic: Copy/Paste printed output
Replies: 6
Views: 1868
Flag: Canada

Copy/Paste printed output

When I run a program that prints text output, I can normally Copy/Paste this output to another program or app after the program ends. I have written a program that is mostly GRAPHICS mode, but also prints some text on the TEXT screen. But this text will not Copy/Paste. "Select" text does not even sh...
by davey110
Thu Oct 12, 2023 3:59 am
Forum: Other topics
Topic: Programming for button release
Replies: 9
Views: 12881
Flag: Canada

Re: Programming for button release

Thank you for those details. I have a routine which scans the button and toggles its function. But if I couldn’t detect the button release then it would just keep scanning and toggling extremely rapidly. So I used this routine: IF BUTTON_PRESSED("E") THEN p=1 WHILE p=1 ' wait for button release p=BU...
by davey110
Tue Oct 03, 2023 4:02 am
Forum: Other topics
Topic: Programming for button release
Replies: 9
Views: 12881
Flag: Canada

Re: Programming for button release

BUTTON_PRESSED means BUTTON_was_PRESSED rather than BUTTON_is_PRESSED I think I am not clear on how buttons operate: Exactly what do you mean "button WAS pressed"? When was the button pressed? When does it no longer indicate that it is pressed? ( i.e. expression returns "0"). I have assumed that wh...
by davey110
Fri Jul 21, 2023 5:38 pm
Forum: Other topics
Topic: Programming for button release
Replies: 9
Views: 12881
Flag: Canada

Re: Programming for button release

I was looking for Examples (and the file) on the forum, instead of the device. I found it now. Thank you
by davey110
Fri Jul 21, 2023 12:14 am
Forum: Other topics
Topic: Programming for button release
Replies: 9
Views: 12881
Flag: Canada

Re: Programming for button release

How do you find examples/music&sound/synthesizer.txt? I have been going around in circles for 15 min trying to get it. When I think I've almost got it it's not there and I end up going back to Board Index. Are there instructions somewhere how to find things on the Forums?