Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing of oleboundcontrols

Status
Not open for further replies.

mccartmd

Programmer
Feb 3, 2003
63
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top