Hi, Sascha, You're using a plain Gtk.ComboBox, which does not have an Entry. You should use the "ActiveText" property, so
DocType = cboDocType.ActiveText; ...will do the trick (remember that Active can be -1 if no option is selected, and therefore ActiveText ""). About the error itself, in Gtk# you have Gtk.ComboBox and Gtk.ComboBoxEntry. Probably when accessing the property Entry it tries to cast itself to a Gtk.ComboBoxEntry, and fails. -- Baltasar
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/gtk-sharp-list
