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

felipe maya felipemaya@manizales.com
Fri, 9 Jan 2004 19:15:57 -0600


<html><body><font face='arial' color='#000000' size='2'>The Entry element of Combo don't has a correct functionality on WIN32 yet, with the execution program produce a NULL REFERENCE EXCEPTION.
<br>

<br>

<br>
using Gtk;
<br>
using GtkSharp;
<br>
using System;
<br>

<br>

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

<br>
What is WRONG...
<br>
<hr color='#FACB65' width='350' align='left'>
<font face='arial' size='2' color='Black'>Consigue tu correo GRATIS en <b><a href='http://manizales.com'>Manizales.com</a></b>,<br>
dale vida a tus mensajes con m&aacute;s de 300 motivos gráficos.<br>
Busca el portal de tu ciudad en <a href='http://www.enredese.net' target='_blank'>http://www.enredese.net</a></font><br>