Stupid question, but have you done a Build All?

When you say "something other than the ButtonClick event happens", can you
clarify?  You don't have some other event handler assigned to your buttons
OnClick method?  No other control (e.g. the form) is grabbing the click
first?  You don't have any ActionList items whose OnExecute method might be
firing instead?

Can't think of much else without more details...

HTH,

C.

-----Original Message-----
From: Mark Howard [mailto:[EMAIL PROTECTED]]

I have a form with a TButton on it with a ButtonClick event defined.

I can put a breakpoint on the first meaningfull line of the ButtonClick 
procedure and it looks to be a 'good' breakpoint ie a bright red dot in 
left margin.

BUT when I run the app (from the IDE) the red dot get's a cross in it 
(so the compiler knows it's not going to use that line)
AND when I click on the Button - something other than the ButtonClick 
event happens.

Any ideas on how to track down what is happening here?

TIA

Mark
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to