Hi all!
In my app there is a timer which deletes the content of the clipboard (clears it) after its last tick.
To delete the clipboard, I use this command:
It works great. I also add a BEEPER (sound lib) to my timer, so I can hear that the timer works also when the app is running in the background.
So far .... so good!!
BUT:
When my app is running in the background and I hear the last beep, then I assume that the clipboard is deleted. But this is not the case!
While the beeper is sounding, I can insert in a text app the content of the clipboard.
But the clipboard is only deleted when my app is in the foreground. When the last beep was generated and the timer has finished his work, then the clipboard is empty.
So, I am asking myself, whats wrong in case of background running?
Regards
ARTsoft
In my app there is a timer which deletes the content of the clipboard (clears it) after its last tick.
To delete the clipboard, I use this command:
B4X:
Dim c As BClipboard
c.clrText
It works great. I also add a BEEPER (sound lib) to my timer, so I can hear that the timer works also when the app is running in the background.
So far .... so good!!
BUT:
When my app is running in the background and I hear the last beep, then I assume that the clipboard is deleted. But this is not the case!
While the beeper is sounding, I can insert in a text app the content of the clipboard.
But the clipboard is only deleted when my app is in the foreground. When the last beep was generated and the timer has finished his work, then the clipboard is empty.
So, I am asking myself, whats wrong in case of background running?
Regards
ARTsoft