How do you differentiate between columns in a grid ?
for e.g. the following won't make Acal visible
 
if Sender=DBGrid1.Columns[4] then
Acal.visible:=True
else
Bcal.Visible:=True;
 
Any help thanks

Patrick Sheehan
( P+A Computing )
Patrick Anthony Associates Ltd
166 Kitchener Rd, PO Box 31-831 Milford
Auckland, New Zealand
Ph: 64 9 486-5020       FX: 64 9 486-5010
Web: www.compnz.co.nz     Email: [EMAIL PROTECTED]

Reply via email to