Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way / utility to compare two forms
Message
De
19/07/2007 11:51:47
 
 
À
19/07/2007 08:44:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01241471
Message ID:
01242015
Vues:
21
>I recommend GKKComparison that Alan pointed you to. I really like it for forms. I'm working on making it accessible via Vault - I have that part done but the only holdback right now is that the control Greg uses for editing only allows editing on one side and we need both sides to be modifiable from Vault.

There is a property on the Edit control (CodeMax) that controls this -- ReadOnly. I set the one on the right side to true; left side is False. There is also the concern of not editing the PROCEDURE ENDPROC lines in the form methods -- this is controlled by another custom property LockProcLines -- set it to True for the right side. In the Pageframe1.Init method is where you would set the LockProcLines value (this is where the instance of CodeMax is added to the form). The edit readonly property would be set in the method Treeview1.SetSelectedNode (it would need to have the same logic as the left side).

Note that CodeMax is always added at runtime to the forms using the visual class definition via the NEWOBJECT method. If CodeMax is added at design time it does not behave well under the VFP design environment.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform