Author Topic: Is there a way to paste text into a QB64 app window?  (Read 2414 times)

0 Members and 1 Guest are viewing this topic.

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Is there a way to paste text into a QB64 app window?
« on: April 20, 2021, 02:19:09 pm »
I have a program that uses only a console Window. All input and output is done to and from that Window.

However, I'm now trying to write an app without using a console window. I find that I can't paste text into that window.

My program requires the entry of some very long responses such as long path names. When using a console I was able to simply paste in a response to an INPUT, but that seems to be missing without using console mode.

I've been looking through the docs but can't seem to find any workaround. Anyone know if this is possible?

QB64 1.51 April 9, 2021 Dev Build on Win 10 20H2. Running screen mode 0.

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Is there a way to paste text into a QB64 app window?
« Reply #1 on: April 20, 2021, 02:21:43 pm »
Check for a specific keystroke like CTRL + V and then read _CLIPBOARD$
Shuwatch!