Justin Smyth wrote > how do I do something like this > > if odSelected in state then > begin > // My Code.... > end; > > I get this error - Error: Incompatible types: got "TOwnerDrawStateType" > expected " > <enumeration type> > "
Hi Justin, I'm sure you have fixed this by now, but for anyone else, the answer is to add *LCLtype* to your *uses* list. Martin. -- Sent from: http://free-pascal-general.1045716.n5.nabble.com/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal