Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Assign #Define Constants to Class Properties?
Message
De
19/09/2000 11:55:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00418094
Message ID:
00418100
Vues:
25
>Hi
>
>I created a compile time constant in my include file:
>
> #Define DC_PAYMENTTYPES "Advance,A,Budget,B,Cash,C"
>
>Using the class designer properties window I then assigned the DC_PAYMENTYPES as the RowSource for a combobox and set the RowSourceType to "1". I hoped the compiler would replace DC_PAYMENTTYPES with the string "Advance,A...." but it just assigns the rowsource as "DC_PAYMENTTYPE".
>
>Does anyone know if it is possible to assign compile time contants to Class properites in the Class Designer?
>
>Thanks
>Simon White

While in the class designer, from the menu select Class > Include File
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform