Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get selected item
Message
De
09/01/2004 18:09:01
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/01/2004 08:59:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00865405
Message ID:
00865656
Vues:
19
>ListIndex.
>
>To be more clear :
>
>myList.ListIndex = 4 && Sets initial selection to 4th item
>myList.ListIndex = month(Date())
>
>* Get selected month number
>lnMonth = myList.ListIndex && You would store just Cmonth()
>Cetin

Thanks, that works great.

Instead of cmonth(), I was storing constants, since I want to store month names in Spanish, independent of the runtime language. But now, I no longer need the second (invisible) column - although in some other cases, it can still be more practical to do so.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform