Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could not figure out how to create a form in VPME
Message
 
 
To
08/09/2009 18:52:01
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01423127
Message ID:
01423284
Views:
31
>It's relatively simple, really, and you can do it ouside the Object Builder, if you'd like. Here's how:
>
>1. Create a new form (e.g., MODIFY FORM FORMS\MyNewForm
>2. In the form control toolbar, add ProForms from your current VPME project folder
>3. Drag and drop the type of form you want to create from the form controls to the form
>4. This is a bit tricky: Now you have to remove the the original form UNDERNEATH the just dragged and dropped form (in VFP9 you may need to do this twice before the system "believes" that this is what you really want to do. Then you have the remove the formset from the dragged and dropped form. Use Form -menu to do these tasks.
>5. Add your tables/views to the data environment, and mark one of them as the main Initialselectalias
>6. Now you can run a form builder (rightclick the form, select VPM form builder) Or you can drag and drop data fields from the data environment onto to form one-by-one, then run a builder on those (VPM control builder), which sets the controls up with all kinds of metadata from the data dictionary.
>
>Cheers,

Pertti,

I changed the descriptions in my table and a view, is there a way to "refresh" them after I already added controls to the form? The labels show the old descriptions. I suppose they would work correctly in run-time.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform