[fpc-pascal] Sets & FPC

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Feb 20 13:21:03 CET 2010


On 20 Feb 2010, at 13:15, Michael Van Canneyt wrote:

> On Sat, 20 Feb 2010, Justin Smyth wrote:
> 
>> procedure TJvCustomListBox.CNDrawItem(var Msg: TWMDrawItem);
>> var
>> State: TOwnerDrawState;
> 
> Try
> 
>  State : Set of TOwnerDrawState;

It is already a set:

lcltype.pp:  TOwnerDrawState = set of TOwnerDrawStateType;


Jonas



More information about the fpc-pascal mailing list