Hi VFP experts,
In the opening of my form I have this Addobject:
thisform.AddObject("olbl","oleboundcontrol")
thisform.olbl.controlsource="join.pdffile"
thisform.olbl.visible=.t.
thisform.olbl.autoactivate=1
with the underlying table general field in join.pdffile I have placed the .pdf object and In a button click: Thisform.olbl.setfocus(). The focus of olbl activates the pdf for viewing. . .this works fine. My question is:
How do I retain the sizing of the oleclass container?
I can resize it after opening it . . . close it and reopen
again and momentarily it has the reset size and then
goes max full screen which is undesired . . .
Would like to "park it" with size and location.
Using vfp9 and adode reader 8
Thanks in advance for any feedback.
Mike
In the opening of my form I have this Addobject:
thisform.AddObject("olbl","oleboundcontrol")
thisform.olbl.controlsource="join.pdffile"
thisform.olbl.visible=.t.
thisform.olbl.autoactivate=1
with the underlying table general field in join.pdffile I have placed the .pdf object and In a button click: Thisform.olbl.setfocus(). The focus of olbl activates the pdf for viewing. . .this works fine. My question is:
How do I retain the sizing of the oleclass container?
I can resize it after opening it . . . close it and reopen
again and momentarily it has the reset size and then
goes max full screen which is undesired . . .
Would like to "park it" with size and location.
Using vfp9 and adode reader 8
Thanks in advance for any feedback.
Mike