Scaling an image to the size of parent Canvas Panel in realtime

My bad. The tick event takes FGeometry parameter, I used it and finally it worked!
Now I can position stuff relative to the upper left corner and size of the widget, which exactly what I needed.