jaja2005
asked on
Property with a pick list
I want to create a delphi object with a property which can be
one of the follow values:
(PENDING,DOWN,UP,SLEEPING. ...)
So that in my code i can do things like that:
Actor.Status := PENDING;
Node.Status := UP;
Should I define my const value and use them in a property?
Someone can show me how to do it, plz?
Ā
one of the follow values:
(PENDING,DOWN,UP,SLEEPING.
So that in my code i can do things like that:
Actor.Status := PENDING;
Node.Status := UP;
Should I define my const value and use them in a property?
Someone can show me how to do it, plz?
Ā
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.