[Gtk-sharp-list] WIN32+Mono-0.29+GTK#-0.14+Combo+Entry

Daniel Morgan danielmorgan@verizon.net
Fri, 9 Jan 2004 20:02:02 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_001D_01C3D6EB.72A0DF30
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

If you don't need the text box part to be editable, you could use an
OptionMenu instead.
  -----Original Message-----
  From: gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com]On Behalf Of felipe maya
  Sent: Friday, January 09, 2004 8:16 PM
  To: gtk-sharp-list@lists.ximian.com
  Subject: [Gtk-sharp-list] WIN32+Mono-0.29+GTK#-0.14+Combo+Entry


  The Entry element of Combo don't has a correct functionality on WIN32 yet,
with the execution program produce a NULL REFERENCE EXCEPTION.


  using Gtk;
  using GtkSharp;
  using System;


  public class main:Gtk.Window{
  public static void Main (string [] args){
  Application.Init ();
  main app = new main();
  Application.Run ();
  }
  public main() : base("COMBO"){
  Combo combo1 = new Combo();
  Combo1.Entry.Text = "HOLA MUNDO"; ///HERE CAUSE A NULL REFERENCE EXCEPTION
  this.Add(combo1);
  this.ShowAll();
  }
  }

  What is WRONG...

----------------------------------------------------------------------------
--
  Consigue tu correo GRATIS en Manizales.com,
  dale vida a tus mensajes con mas de 300 motivos graficos.
  Busca el portal de tu ciudad en http://www.enredese.net
  _______________________________________________ Gtk-sharp-list maillist -
Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

------=_NextPart_000_001D_01C3D6EB.72A0DF30
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN =
class=3D031045300-10012004>If you=20
don't need the text box part to be editable, you could use an OptionMenu =

instead.</SPAN></FONT></DIV>
<BLOCKQUOTE>
  <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
  size=3D2>-----Original Message-----<BR><B>From:</B>=20
  gtk-sharp-list-admin@lists.ximian.com=20
  [mailto:gtk-sharp-list-admin@lists.ximian.com]<B>On Behalf Of =
</B>felipe=20
  maya<BR><B>Sent:</B> Friday, January 09, 2004 8:16 PM<BR><B>To:</B>=20
  gtk-sharp-list@lists.ximian.com<BR><B>Subject:</B> [Gtk-sharp-list]=20
  WIN32+Mono-0.29+GTK#-0.14+Combo+Entry<BR><BR></FONT></DIV><FONT =
face=3Darial=20
  color=3D#000000 size=3D2>The Entry element of Combo don't has a =
correct=20
  functionality on WIN32 yet, with the execution program produce a NULL=20
  REFERENCE EXCEPTION. <BR><BR><BR>using Gtk; <BR>using GtkSharp; =
<BR>using=20
  System; <BR><BR><BR>public class main:Gtk.Window{ <BR>public static =
void Main=20
  (string [] args){ <BR>Application.Init (); <BR>main app =3D new =
main();=20
  <BR>Application.Run (); <BR>} <BR>public main() : base("COMBO"){ =
<BR>Combo=20
  combo1 =3D new Combo(); <BR>Combo1.Entry.Text =3D "HOLA MUNDO"; =
///HERE CAUSE A=20
  NULL REFERENCE EXCEPTION <BR>this.Add(combo1); <BR>this.ShowAll(); =
<BR>} <BR>}=20
  <BR><BR>What is WRONG... <BR>
  <HR align=3Dleft width=3D350 color=3D#facb65>
  <FONT face=3Darial color=3Dblack size=3D2>Consigue tu correo GRATIS en =
<B><A=20
  href=3D"http://manizales.com">Manizales.com</A></B>,<BR>dale vida a =
tus mensajes=20
  con m&aacute;s de 300 motivos graficos.<BR>Busca el portal de tu =
ciudad en <A=20
  href=3D"http://www.enredese.net"=20
  =
target=3D_blank>http://www.enredese.net</A></FONT><BR>___________________=
____________________________=20
  Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com=20
  http://lists.ximian.com/mailman/listinfo/gtk-sharp-list=20
</FONT></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_001D_01C3D6EB.72A0DF30--