On 21 Feb 2010, at 07:26, Justin Smyth wrote: > I've done the bit Micheal suggest now which i highlight TWMDrawItem it says > its comes from TLMDrawItems. > > i still get Error: Incompatible types: got "TOwnerDrawStateType" expected > "<enumeration type>"
Can you post the full program somewhere? (or the full sources to another, smaller, program that demonstrates the same problem) Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal