Change the code from NewPicture to New Picture
NewPicture was deprecated
You can also simply search for NewPicture.
If you don‘t know how to search then PLEASE read the free introduction book and do the tutorials. People here are VERY willing to help, but you need to put some effort in and learn the basics (like how to use the IDE).
If the only issue is the use of deprecated NEWPICTURE, it is easy to fix
Function NewPicture(w as integer,h as integer,depth as integer) as picture return new picture(w,h,d) End Function
The encrypted class should now call this instead... at least it has worked for me in the past
@Dave S If the only issue is the use of deprecated NEWPICTURE, it is easy to fix
Nice one, Dave. Have to remember that.
But as it’s encrypted it is just a matter of time before something else breaks so you have to decide wether it’s worth the risk …
I've done as Dave Sisemore advised me but I don't know what I've done wrong. Please, help me. I'm not a newbie in programming but I'm new in Xojo. Plaese, check the image below and advise me appropriately.
Thanks in advance
Dave, I've done what you've told me but still I get an error! I need your help more.
@SaschaSchneppmueller Copy only theFunction NewPicture(w as integer,h as integer,d as integer) as picture return new picture(w,h,d) End Function
from this Thread and Paste it into the Xojo IDE Navigator while you have marked a Module :)
Thank you, didn't know that.