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

Display HTML page in VFP main window: Can it be done?

Status
Not open for further replies.

ganj

IS-IT--Management
Nov 3, 2001
19
AT
I want to display an html page (with gif/jpg images) and links in the main VFP window. Is it possible? I want to build something like a menu (instead of sidebar or toolbar), with nice picture buttons.

I'm using VFP6 (not VFP7)

TIA, ganj
 
ganj

I want to display an html page (with gif/jpg images) and links in the main VFP window.

You would have to create a form (that could look like the VFP main screen ) and add a web browser class to it. There is a sample of that in the Solutions.

I want to build something like a menu (instead of sidebar or toolbar), with nice picture buttons.

Take a look at thread184-399613
Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
If you don't want to re-create the main VFP form, you can create a form with no title or borders but with a web browser control in it, and fill the VFP form with it, and hook the _SCREEN.Resize event (easy in VFP8, not too much harder in older VFPs) to make sure it stays the right size as the VFP main screen changes size.

 
See this FAQ for how to make the sub window resize when _SCReEN resizes: faq184-2755
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top