Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not figure out how to create a form in VPME
Message
De
09/09/2009 19:12:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual ProMatrix
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01423127
Message ID:
01423375
Vues:
41
>>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.

Naomi --

As long as you don't turn on the override caption -option for the label, it will display whatever is in the data dictionary. This can be a bit confusing from design point of view, though, since you don't have a WYSIWYG -view while in the designer, and thus don't know the exact length of the labels.

As far as I know, there is no way to refresh the labels after they have been created.
Pertti Karjalainen
Product Manager
Northern Lights Software
Fairfax, CA USA
www.northernlightssoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform