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