Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Connect and VFP forms
Message
From
10/04/2001 16:07:40
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00494147
Message ID:
00494158
Views:
16
Richard,

>On the other hand, my boss tells me that he was told that WC allows you to put VFP forms into the browser, but how is it done?

Web Connection has a feature called Dynamic Form Rendering, which instantiates your VFP form back on the server, then renders its display using DHTML. This does NOT, however, mean that you have a fully functioning form, just that you have the visual representation of the form. It can handle grids, comboboxes, etc, and they are live, but the entire logic of the form is not.

To handle any actions on the form, such as a click of a button, you will either have to write some script (JavaScript usually) or else let the click cause another hit to the backend, where you must add code to handle that click event. That click event code on the back end can then instantiate the form again and call into the form's methods to take some action.

You can use the Form Rendering to create the DHTML representation of the form, then use that as the basis for an HTML version of your form, which speeds up the creation of HTML. However, you need to know that this may not render properly on all browsers, and is intended primarily for IE 4 and above.

There is fairly good documentation about all of this in the WC docs, but there is no shortcut or magic bullet to take you all the way.

Let me know if I can be of further assistance...
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform