Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the deal with Combos?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00273965
Message ID:
00274373
Vues:
35
I am continuing to perfect this class. I will post my final version here when done. I am getting real 2-D arrays to work -- aList[1,1], aList[1,2], aList[2,1], aList[2,2], etc.

>Same here.
>
>>I am using VFP 6 SP3. What are you using?
>>
>>>Hmm... Mine has been working fine and I haven't been doing that.
>>>This is the code in the init.
>>>
>>>
DoDefault()
>>>
>>>select abbrev from states order by 1 into array This.aList
>>>
>>>local lnResult
>>>lnResult = 1
>>>if !empty( This.ControlSource )
>>>	lnResult = ascan( This.aList, eval( This.ControlSource ) )
>>>endif
>>>
>>>if lnResult = 0
>>>	local lnLen
>>>	lnLen = alen( This.aList, 1 ) + 1
>>>	dimension This.aList[ lnLen, 1 ]
>>>	This.aList[ lnlen ] = eval( This.ControlSource )
>>>	asort( This.aList )
>>>endif
>>>
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform