I am trying to check a shift state in an onMouseUp event
if shift=ssShift thenbut when I compile this I get an error
E:\DataRoot\Projects\DelphiConversions\Mathparsers\LXExpParser\Source\lxmathstringgrid.pas(132,11) Error: Incompatible types: got "TShiftStateEnum" expected "TShiftState"
When I look in classesh.inc (where it is defined) there is a strange definition
{$packset 1}
TShiftState = set of TShiftStateEnum;
{$packset default}How do I check my shift state and get around this compiler error?
Regards
Alex du Plessis
