Re: @ operator ? Or maybe not



var
BOC, M1, M2 : TNotifyEvent;

BOC := Button.OnClick;
M1 := Method1;
M2 := Method2;
Button.Enabled := (@BOC = @M1);


Works for me in D3. Don't ask me why <g>.

Alan Lloyd

.


Quantcast