Hi,
I have a the exact same DrawCell procedure for two StringGrids on two different forms (about 65 lines of code). Is it possible to make a separate unit containing the DrawCell procedure, which can then be used by both forms for both StringGrids? Is this a better way of coding it?
Thanks in advance.
------------------------------------
There's no place like 127.0.0.1
------------------------------------
I have a the exact same DrawCell procedure for two StringGrids on two different forms (about 65 lines of code). Is it possible to make a separate unit containing the DrawCell procedure, which can then be used by both forms for both StringGrids? Is this a better way of coding it?
Thanks in advance.
------------------------------------
There's no place like 127.0.0.1
------------------------------------