Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continuous integration
Message
De
01/05/2014 14:35:55
 
 
À
01/05/2014 12:48:30
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01599361
Message ID:
01599367
Vues:
144
>Hi all
>
>The scenario is there's a team of programmers. I am working on many changes across the app. As part of my changes, the customer form needs a textbox and label added. I added these in the form designer. I've kept all of the changes checked out. However, now another team member needs to make a change to the customer form. I want to be able to check in my change, but add a switch of some kind to prevent the textbox and label from being added, as opposed to removing them at runtime. Can you help me prepare a list of available options?
>
>1 - Programmatically add the controls - position them etc. within a condition.
>2 - visually add the controls - return .F. from the init if a high-level public-like private variable is defined.
>3 - Compiler directives - but how do they apply to visually added controls?
>4 - I guess I'm spoiled by genscrnx and genmenux where we could add a condition that would prevent code being generated.
>5 Make the controls visible = .f. in the form designer and add compiler directive wrapped code to make them visible = .t.?
>Can compiler directives check for the existence of a file - I'd rather keep the test out of the file system - in RAM.
>6 - make a new object with properties that drive conditional integrations - have this object instantiated before a build exe. All features that are intended to be delivered would be included in the exe. All that are to be excluded would be. At design time, developers instantiate this object and by flipping properties, are able to see before and after.
>
>Any other ideas?

Let the guy check in. Then you update but don't check in
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform