Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Bernard Bout
  Where is Bernard Bout?
 Brisbane
 Australia
 Bernard Bout
 To: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 Tags
Subject: RE: WebBrowser
Thread ID: 365733 Message ID: 365747 # Views: 85 # Ratings: 1
Version: Visual FoxPro 9 Category: Active X Controls & OLE Automation
Date: Monday, December 31, 2012 5:13:03 AM         
   


>
> Any idea how we can implement the same on an offline form?
>
>
>
> http://sandstorm36.blogspot.com
> http://weblogs.foxite.com/sandstorm36

Hi Jun

1. First off go here and d/l the source for jQM

http://jquerymobile.com/

Then expand and open the demos folder. You should be able to run all examples locally without using a webserver by dbl clicking the index.html provided your browser is FFox or chrome.

2. Now to use this in a VFP form requires the web browser control which does not support this [I think]

I have a solution that is pretty simple. Read about it here:
http://weblogs.foxite.com/bernardbout/2012/01/07/html5-with-internet-explorer-8-in-vfp/

3. Download this sample form, and after you have installed Google chrome frame as described above, open the form and change the path to the jqmobile index.hrml in the form.init as I have done. Or just comment out my path and run the form. You can then select the HTML file using the button on the form.

https://www.foxite.com/uploads/33a32f17-e4e1-4d88-bee3-429728ae034a.zip

Note: The form MUST find and open the included loadframe.htm before opening your HTML5 or the form will not work. So do not change anything else in the INIT.

4. Make sure that the default path is set to the where the form and my html file is located and run the form. After it loads, click the "Load HTML" button and the demo should load and work.

Note that this form can be used with ANY HTML code and will also work locally.

Any problems email me directly or post here.

JQMobile is pretty easy to use and you can even design themes and the layout itself as I posted in another thread from the JQM link in point 1 above - ie the editor and the theme generator.

JQMobile is not the only player in this game. There are heaps of others as well as Google will show you if you as for "javascript mobile framework"


Bernard

** If you see someone without a smile, give em one of yours :) **
My Blog

ENTIRE THREAD

WebBrowser Posted by Jun Tangunan @ 12/31/2012 3:04:03 AM
RE: WebBrowser Posted by Glen Villar @ 12/31/2012 3:49:27 AM
RE: WebBrowser Posted by Jun Tangunan @ 12/31/2012 3:58:51 AM
RE: WebBrowser Posted by David Mustakim @ 12/31/2012 3:58:39 AM
RE: WebBrowser Posted by Jun Tangunan @ 12/31/2012 4:01:43 AM
RE: WebBrowser Posted by David Mustakim @ 12/31/2012 4:08:50 AM
RE: WebBrowser Posted by Bernard Bout @ 12/31/2012 5:13:03 AM
RE: WebBrowser Posted by Jun Tangunan @ 12/31/2012 5:44:31 AM
RE: WebBrowser Posted by onytoo @ 1/2/2013 3:14:30 AM
RE: WebBrowser Posted by Bernard Bout @ 12/31/2012 4:39:27 AM
RE: WebBrowser Posted by David Mustakim @ 12/31/2012 4:53:17 AM