Re: strange click problem by Ginny
Ginny
Fri Dec 19 10:02:18 CST 2003
Ok, thanks for the followup.
--
Ginny Caughey
.Net Compact Framework MVP
"christophe" <christoRetirercAphehenry@free.fr> wrote in message
news:3fe31ed2$0$17143$626a54ce@news.free.fr...
> the reason is that it should be always accessible,unique, and that it must
> not disable the other forms
> the second reason is that its buttons may work in different ways ,
according
> to the context (witch other form is open, for exemple)
>
> i 've found the beginning of an explanation
> all my buttons were in a panel
> i've tried to add another one , directly on the form, not on the panel
> it appears that it is abble to respond to the click
>
> Christophe
>
> "Ginny Caughey [MVP]" <ginny.caughey.online@wasteworks.com> a écrit dans
le
> message de news:etS$NbkxDHA.1912@TK2MSFTNGP09.phx.gbl...
> > christophe,
> >
> > Is there a reason you need the toolbox to be modeless? Maybe you could
> just
> > make it modal and give it a Cancel or Close button so the user can
dismiss
> > it if he doesn't want to use it.
> > --
> > Ginny Caughey
> > .Net Compact Framework MVP
> >
> > "christophe" <christoRetirercAphehenry@free.fr> wrote in message
> > news:3fe318d4$0$17144$626a54ce@news.free.fr...
> > > hi,
> > >
> > > i've got some troubles with trapping some click events on button in a
> non
> > > modal form under compactFramework
> > > my application, throw two form , with the Show() function.
> > > so one of them goes in background
> > >
> > > on the frontground form, the click event of my Buttons work perfectly
> > > but when i bring the second form (kind of hand-made toolbox) to front,
> by
> > > clicking its tab in the windows bar, i can't managed to trap the click
> > > events of this form's buttons
> > > with the debugger, it nerver go in the event handlers!!
> > >
> > > but thoses are present in the code
> > > i've made them with lines like:
> > > this.btCalculs.Click += new System.EventHandler(this.btCalculs_Click);
> > >
> > >
> > >
> > > i can' t understand why these events don't get fired in this form
> > >
> > > any ideas ?
> > >
> > >
> > >
> > > Christophe
> > >
> > >
> >
> >
>
>