Forum > General

Compiler messages

(1/1)

Imants:
I wrote virtual procedure:

Procedure MouseMove(Shift: TShiftState; X, Y: Integer); virtual;   

In function definition I uses only X and Y variables. So compiler shows me such message:
"Hint: Parameter "Shift" not used"

But I dont want to remove shift from procedure because it can be used in oweload functions is there a way to remove this message

skalogryz:
see the screenshot please.

Compiler Options->Messages

mas steindorff:
Thanks skalogryz,
I've been wandering how best to remove that warning as well. :)

Imants:
Thanks that message was very anoying

Navigation

[0] Message Index

Go to full version