[Gambas-user] Signal #11 - solved

Benoit Minisini gambas at ...1...
Mon Sep 8 16:48:10 CEST 2008


On dimanche 07 septembre 2008, Hans-Martin wrote:
> Am Sonntag, 7. September 2008 14:48:27 schrieb Hans-Martin:
> > Am Sonntag, 7. September 2008 14:05:22 schrieb Hans-Martin Bundeshund:
> > > Hello all,
> > >
> > > i have an application running well with 2.7.0 but getting a signal#11
> > > with 2.8.2
> > >
> > > PUBLIC SUB ButtonPartner_Click()
> > >   DIM hForm AS FPartnerStart
> > >
> > > signal#11 -->  hForm = NEW FPartnerStart(BenutzerID)    <-- signal#11
> > >   hForm.Show
> > >
> > > END
> > >
> > >
> > > As i get the error by creating a new form (what is designed with the
> > > gambas-ide) i thing there is 1 component that makes the trouble. But in
> > > this form i use a bunch of different component, so its not that simple
> > > to find out what will bring this error.
> > >
> > > Any suggestion how to find the guilty component?
> > >
> > > regards,
> > > HMB
> >
> > hmm, i think it's not a bad idea to post the FPartnerStart-form:
> >
> > # Gambas Form File 2.0
> >
> > ...
> >
> > >   { EditImmerAn Menu NeuenPartnerAnlegen
> >
> >     Name = "EditImmerAn"
> >     Text = ("")
> >     Shortcut = "F1"
> >   }
>
> I deleted one component after another with the ide and tried it. Still
> Signal#11. After my form was empty, i still got signal#11. Then i looked
> into it with a text-editor and saw that there is still a menu alive.
> deleted this and the signal#11 was gone :)
> after that i switched to my orginal project and deleted only the menu. all
> is fine now :)
>

OK, I understood the bug: but why did you put shortcuts on top-level menus?


-- 
Benoit Minisini




More information about the User mailing list