[Gtk-sharp-list] Re: Gtk-sharp-list Digest, Vol 3, Issue 20
th3 m0nq
th3m0nq at gmail.com
Sun Jul 17 13:29:55 EDT 2005
I would assume you didn't properly initialize your ConnectionCombo.
Null references occur when you forget to initialize a reference, then
try to access it as though you were referencing an actual object.
Hope that helps.
Adrian V.
On 7/17/05, gtk-sharp-list-request at lists.ximian.com
<gtk-sharp-list-request at lists.ximian.com> wrote:
> Send Gtk-sharp-list mailing list submissions to
> gtk-sharp-list at lists.ximian.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> or, via email, send a message with subject or body 'help' to
> gtk-sharp-list-request at lists.ximian.com
>
> You can reach the person managing the list at
> gtk-sharp-list-owner at lists.ximian.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Gtk-sharp-list digest..."
>
>
> Today's Topics:
>
> 1. Gtk.OptionMenu obsolete (underdog10 at netcourrier.com)
> 2. Gtk.Combo Entry.Activated pb (underdog10 at netcourrier.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 17 Jul 2005 13:22:19 +0200
> From: underdog10 at netcourrier.com
> Subject: [Gtk-sharp-list] Gtk.OptionMenu obsolete
> To: gtk-sharp-list at lists.ximian.com
> Message-ID: <mnet1.1121599339.1446.underdog10 at netcourrier.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I try to use a Gtk.OptionMenu but it is mark as obsolete.
> Which widget should i use to avoid this warning.
>
> /francois
>
> -------------------------------------------------------------
> NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
> Web/Wap : www.netcourrier.com
> Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
> Minitel: 3615 NETCOURRIER (0,16 € TTC/min)
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 17 Jul 2005 16:30:05 +0200
> From: underdog10 at netcourrier.com
> Subject: [Gtk-sharp-list] Gtk.Combo Entry.Activated pb
> To: gtk-sharp-list at lists.ximian.com
> Message-ID: <mnet2.1121610605.1446.underdog10 at netcourrier.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> I try to use a combox, and i a System.NullReferenceException when try to set a event on the Combo.Entry.Activated.
>
> Does anyone got an idea?
>
>
> ConnectionCombo = new Combo ();
>
> string[] pop = {"Foo", "Bar"};
> ConnectionCombo.PopdownStrings = pop;
>
> // ConnectionCombo.DisableActivate ();
> // This Crash
> ConnectionCombo.Entry.Activated += new EventHandler (OnConnectionComboActivated);
>
> hbox.PackStart (XboxsConnectionCombo, false, false, 10);
>
>
> Thanks,
>
> /Francois
>
> -------------------------------------------------------------
> NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
> Web/Wap : www.netcourrier.com
> Téléphone/Fax : 08 92 69 00 21 (0,34 € TTC/min)
> Minitel: 3615 NETCOURRIER (0,16 € TTC/min)
>
>
>
> ------------------------------
>
> _______________________________________________
> Gtk-sharp-list mailing list
> Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>
> End of Gtk-sharp-list Digest, Vol 3, Issue 20
> *********************************************
>
--
th3 m0nq
More information about the Gtk-sharp-list
mailing list