Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding image to pages in pageframe
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01643603
Message ID:
01643614
Views:
41
>I had tthe stretch property already tried but unfortunately that does not help. The problem is that the width and height of the control are 1, I can check this in tge debugger.
>
>Best regards
>
>Thomas

Before resizing remove Anchor (set it to zero) after resizing set it back to its value.
FOR i = 1 TO thisform.pf.Pagecount
    thisform.pf.Pages[i].addobject("img_back","image")
    WITH thisform.pf.Pages[i].img_back
      .Anchor = 0 && Here
      .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
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform