Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Working with the collection class
Message
 
 
À
24/05/2005 13:50:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01017111
Message ID:
01017192
Vues:
39
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform