Hallo Ole
OAM>> I can't figure how to create this array, or what ever it is.
TM> I haven't done this or even attempted, but it seems to me that this
TM> should be a SET of integer. Try this with a set instead of an
TM> array....
OAM> Is there someone who can explain how to make a Set Of Integer for
OAM> a property?
I'll make it a set of an enumerated type, which is the cooler way to go, but
feel free to substitute do1 etcetera with plain integers.
type
TDisplayOption = (do1, do2, do3, do4, do5); // enumerated type
TDisplayOptions = set of TDisplayOption; // your set
TSomeObject = class(TCustomSomeObject)
private
procedure SetDisplayOptions(ADisplayOptions :TDisplayOptions);
published
property DisplayOptions :TDisplayOptions
read FDisplayOptions write SetDisplayOptions
end;
Groeten, Martin.
--- FMail/386 1.02
---------------
* Origin: -=[ E-mail: m_maat@knoware.nl .......... ]=- (2:286/420.1)
|