Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Greying out items in a combobox
Message
De
20/03/2009 11:55:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
20/03/2009 11:43:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
01390031
Message ID:
01390040
Vues:
55
>Can anyone give me some help on how to grey out an item in a combobox. Here's the code I have so far:

Caption must start with "\".

>
>LOCAL lcAlias, liProjKey, lcType
>
>lcAlias = Alias()
>liProjKey = projects.projkey
>
>SELECT activity_type ;
> FROM projects ;
> WHERE projkey = liProjKey ;
> INTO CURSOR curTypes
>
>SCAN
> lcType = activity_type
> =Ascan(Thisform.aactivitytype,lcType,,,2)
>ENDSCAN
>
>IF !Empty(lcAlias)
> Select(lcAlias)
>ENDIF
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