StefanA
(StefanA)
#1
What’s the replacement for Clipboard.AddRawData?
Autocomplete suggests “AddRawData” but this is deprecated:
https://documentation.xojo.com/api/deprecated/deprecated_class_members/clipboard.addrawdata.html
Instead we should use “RawData” but there we can only read a value from the clipboard:
https://documentation.xojo.com/api/user_interface/clipboard.html#clipboard-rawdata

MarkusR
(MarkusR)
#2
its deprecated 2019r2 in online manual but still there.
maybe they made the rename undone.
i think you can add it to the feedback tool.
Looks like a bug somewhere.
The code below in a newly created project with 2019r3.1 works without warning
[code]Dim c As New Clipboard
c.AddRawData “Mooc”,“This is a text data”
c.Close[/code]
RawData seems to be documented wrong
It has a read and write form
and addrawdata is still there just wont autocomplete
I filed 3 new bug reports about the clipboard issues
yeah the autocomplete one but since the RAWDATA assigns version (which is screwy) isnt documented I guess you cant show it
whatever