Search found 3 matches

by RalfP
Tue May 06, 2025 10:36 am
Forum: Coding Questions
Topic: EditorGadget() clears the clipboard when the program ends
Replies: 23
Views: 1157

Re: EditorGadget() clears the clipboard when the program ends

I don't do anything illegal on the internet with my computer, but I still don't want to be equipped with a unique global license plate (TPM).

And I'm still not quite satisfied with Linux as my main operating system.

But I know I have to do something soon.
by RalfP
Tue May 06, 2025 1:57 am
Forum: Coding Questions
Topic: EditorGadget() clears the clipboard when the program ends
Replies: 23
Views: 1157

Re: EditorGadget() clears the clipboard when the program ends

Thanks for testing.

The Rich Text Editor control only returns the CF_OEMTEXT format to the clipboard, and some programs can't handle this when pasting.
So this is an incompatibility between the Rich Text Editor control and the other programs (e.g., Notepad) and not a PureBasic bug.

I'll use the ...
by RalfP
Mon May 05, 2025 1:39 pm
Forum: Coding Questions
Topic: EditorGadget() clears the clipboard when the program ends
Replies: 23
Views: 1157

EditorGadget() clears the clipboard when the program ends

Hello

For me the clipboard is always deleted when the program ends if the program has an EditorGadget().
I haven't found anything about it here.

Here is a test program:

OpenWindow(0, 0, 0, 500, 100, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(1, 10, 10, 480, 80 ...