Is this expected behavior?
I have a canvas that I defined a backdrop image for … its the application logo
in the PAINT event… I have it slap a “DEMO” stamp over the logo if it is an evaluation copy of the program
in MacOS THIS works
// Paint Event Code for Canvas - Backdrop is app_logo.png
Dim x As Integer
Dim y As Integer
If PGM_IS_REGISTERED=False Then
x=(g.Width-demo.width)/2
y=(g.height-demo.height)/2
g.DrawPicture demo,x,y
End If
but in Windows the STAMP “demo” does NOT appear
to make it work in BOTH macOS and Windows I had to do this
// Paint Event Code for Canvas - Backdrop REMOVED
Dim x As Integer
Dim y As Integer
g.DrawPicture app_logo,0,0,g.Width,g.Height, 0,0,app_logo.width,app_logo.height
If PGM_IS_REGISTERED=False Then
x=(g.Width-demo.width)/2
y=(g.height-demo.height)/2
g.DrawPicture demo,x,y
End If