Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with the collection class
Message
 
 
To
24/05/2005 13:50:29
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01017111
Message ID:
01017192
Views:
35
My containers are in order 1-6. I want to add them to collection, like this

.add(m.tcClassName, m.tcNamedSearch, evaluate('thisform.o'+m.tcNamedSearch+'.TabIndex'))

>>>Add() have eBefore, eAfter parameters
>>
>>Yes, so my question was: can I use TabOrder and eBefore?
>
>You can,
> but you have to define the key like:
>ContainerName+ltrim(str(member.TabOrder))
>
>
> ADD(,ContainerName+ltrim(str(member.TabOrder));
>     ,ContainerName+ltrim(str(member.TabOrder+1))
>
>BUT the VFP collection design have not a SET NEAR setting,
>then eBefore must to exist.
>Then TabOrder must to be collected in order
>and without holes.
>And then ... :((((
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform