Hi Jim
I guess that is what I will have to do since the Class Designer does not support the direct assignment of #Define constants.
Thanks
Simon White
>>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
>
>Simon,
>
>No you cannot use the constant in the property sheet but you can write this in the Class' Init;
>
>This.RowSource = DC_PAYMENTTYPE
Simon White
dCipher Computing