do you get the blue debug balls in the unit when you compile?


[EMAIL PROTECTED] wrote on 05/12/2002 01:32:53 PM:

> Thanks for the responses.
>
> To expand a bit:
>
> The TButton is called LoadBtn.
> When I doubleclick it (in design mode) it moves me to the LoadBtnClick
> event.
> There is no other LoadBtn or LoadBtnClick event in the application.
>
> I have done a build all.
>
> This is part of a largish application so it is difficult for me to find
out
> where the program flow is going after the button click.   ANY
> breakpoint that I place in LoadBtnClick fails to catch the programme
> flow because the event is not triggered.
>
> I don't know how to figure out what code IS being triggered or what
> other controls could be capturing the button's onClick event.  None of
> the containing controls, of the Button, have any events defined until the

> Mainform which just has OnCreate and OnDestry and on Resize events.
>
> Is there any way that I can track where the flow is going, since I can't
> track it from the event that should be triggered?
>
> Mark
>
>
> On 5 Dec 2002 at 14:45, Conor Boyd wrote:
>
> > 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/
> >
>
>
>
---------------------------------------------------------------------------
>     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/



This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the [EMAIL PROTECTED]

---------------------------------------------------------------------------
    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