Antwise community forums
VFP Form Sample - Printable Version

+- Antwise community forums (https://forums.antwise.com)
+-- Forum: Antview (https://forums.antwise.com/forumdisplay.php?fid=11)
+--- Forum: Antview for Windows (https://forums.antwise.com/forumdisplay.php?fid=12)
+--- Thread: VFP Form Sample (/showthread.php?tid=226)



VFP Form Sample - OASDavid - 2025-09-04

Hello, I'm testing Antview 2 in VFP.  I'm loading the browser on a form and hope to use as a dashboard.  I'm having some issues getting this registered, as I'm getting Class not found errors (it is registered).  Are there any VFP form samples?  I think the ones with Antview 1 do not work quite right?

Thank you.


RE: VFP Form Sample - wila - 2025-09-04

Hello,

When you install AntView v2, it will also install VFP examples for you.
Those examples are installed under C:\User\Public\Document\AntView2\Examples

Note that "User" and "Public" etc.. are localised to your language.
There should also be an option in the Start menu for opening the examples folder.

Hope this helps,
--
Wil


RE: VFP Form Sample - wila - 2025-09-04

Some more info in the hope to clarify the issue of trying to locate the examples.

First a link to the help:

Use AntView in Visual FoxPro

and a screenshot of the start menu, highlighting the examples option:
   

Hope this helps,
Wil


RE: VFP Form Sample - OASDavid - 2025-09-05

(2025-09-04, 16:25:54)wila Wrote: Hello,

When you install AntView v2, it will also install VFP examples for you.
Those examples are installed under C:\User\Public\Document\AntView2\Examples

Note that "User" and "Public" etc.. are localised to your language.
There should also be an option in the Start menu for opening the examples folder.

Hope this helps,
--
Wil

Thank you Will.  Indeed that has helped. and I'm able to load my dashboard successfully.

What I am missing though, is how to return a value from an html object (edit button) when clicked, back to VFP.  How do we bridge antview to our vfp logic?

David


RE: VFP Form Sample - OASDavid - 2025-09-05

I think I have it now.

I've spent the last 2 days training AI, it seems. sheesh.

Thanks again!


RE: VFP Form Sample - wila - 2025-09-05

(2025-09-05, 17:39:48)OASDavid Wrote: I think I have it now.

I've spent the last 2 days training AI, it seems. sheesh.

Thanks again!

Hi,

Glad to hear that you've found a solution.
You're welcome.

Let me know if there's more questions.
--
Wil