Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Names for methods
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01406109
Message ID:
01407232
Views:
44
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform