Link to home
Start Free TrialLog in
Avatar of ronit051397
ronit051397

asked on

OnClick event doesn't work

when I place a TButton on TStringGrid like this:

Button1.Parent:=StringGrid1;

then, the OnClick Event of the Button doesn't work.
With SpeedButtons it works fine.
Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of erajoj
erajoj
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ronit051397
ronit051397

ASKER

Thanks.
Do you know why this is working with TPanel but not working with TStringGrid?
For some reason, this is not working with TUpDown Component. Do you know why?