SetClipboardText() Max String Size?

Just starting out? Need help? Post your questions and find answers here.
IdeasVacuum
Always Here
Always Here
Posts: 6425
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

SetClipboardText() Max String Size?

Post by IdeasVacuum »

SetClipboardText() has no return value, yet we are able to send strings that are far larger than those that a User could typical select for sending to the Clipboard.

Is the Clipboard capacity identical for all OS supported by PB?
Is it the case that all Clipboards accept their maximum string byte size and the remainder (if any) is ignored?
I would like the function to give me an indication of success or failure, and certainly be able to pre-empt that in the knowledge that my string did not exceed the maximum.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.