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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to arrange screens for Browser & VFP-Application 1

Status
Not open for further replies.

kbklaus

Technical User
Mar 30, 2007
9
DE
I developed a form with a textbox.
The textbox in it has to be filled by drag & drop with interesting internet-adresses.
However when I start the VFP application as the drop-target and the browser as the drag-source I have to reduce both screens and to arrange them manually so that the user is able
to drag from the browser adress-bar into the textfield of my form.
Is it possible to let VFP-code or API within the form do this for me?
But how?
Thanks for all suggestions.
 
You can easily arrange your VFP window the way you want.

First, position the form so that it sits in the upper left corner of your main Foxpro window. To do so, set the form's Top and Left properties to a low number (say, 1).

Then resize the main VFP window so that it is about the same width as the form, and positioned to the left of the pysical screen. To do so, set _SCREEN.Left to 0, and _SCREEN.Width to a bit more than the width of your form.

Now all you have to do is to position your browser window to the right of the VFP window. Unfortunately, I can't tell you how to do that, but I'm sure it's possible. I hope someone else can step in and help.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top