Hi there,
In my application I often add an image-control to forms to set a background-picture. I now tried this
with the pages pf the pageframe-control by using the following code:
FOR i = 1 TO thisform.pf.Pagecount
thisform.pf.Pages[i].addobject("img_back","image")
WITH thisform.pf.Pages[i].img_back
.ZOrder(1)
.left = 0
.top = 0
.Height = Thisform.pf.Height
.Width = Thisform.pf.Width
.Anchor = 15
.picture = "D:\foxprogs\foxbib\images\blueform.png"
Endwith
Next
But this does not work. The image is added but when it comes to the next-statement width and height are "reset" to a value
of 1. Can someone tell me what I am doing wrong or missing?
Thanks in advance
Thomas