Half a year ago he worked at Rad Studio 10 Seattle. I had a class that TImage from TImage
In the constructor, I wrote:
Parent = Owner; AutoSize = true; TPicture *pic = new TPicture(); pic->LoadFromFile("Textures/r1.png"); Picture = pic; And the png file was loaded, and everything worked fine
Now, when I write the same code, I write Bitmap image is not valid
Why did it work earlier, but not now?
PS Now I have Rad Studio 10 Berlin