Hi People,

I am currently writing a Nought's and Crosses game.

I have 9 command button's for the different parts of the board. When you click a button the program calls a procedure in another module.

This Module will then place an X or a O in the Caption property of the button that called it.

I can't find out how to reference the calling button's caption. I have tried passing into the module a string with the command button's name and then saying string.caption = "X", but this does not work.

Any Idea's, Cheers ?