Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Names for methods
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01406109
Message ID:
01407232
Vues:
43
>>>I like to use populate in this cases, and I think I would separate the work for each list
>>>
>>>populateSource()
>>>populateDestination()
>>>getSourceItems()
>>>getDestinationItems()
>>
>>+ 2 more methods Populate() and GetItems() since these methods will call generic method with object reference?
>>
>>Sounds interesting, may be I should re-design. (In the meantime I just finished adding new methods as Boris proposed) but haven't coded them yet.
>>
>>Let's see what Boris think - I like your idea better, actually.
>
>
>You mean something like:
>
>procedure Populate()
> this.populateSource()
> this.populateDestination()
>endproc
>
>?
>
>I agree with Populate, but I would not have a generic method to get items from both lists.

No, I meant
procedure PopulateSource(array)
this.Populate(@array, this.lstSource)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform