[Gtk-sharp-list] Properties empty after connection
Baltasar García Perez-Schofield
baltasarq at gmail.com
Sat Jan 14 07:47:26 UTC 2017
> can it be that the defined Properties with public string aren't available
> solution wide? That three Properties are set in PublicanCreator project but
> checked into the Engine project.
No, public means that it is available to everyone.
Sascha, besides the last answer, take into account that combo boxes can
have no element chosen. In that case, ActiveIndex returns -1, and I suppose
that ActiveText would return "".
I usually do:
cbCombo.ActiveIndex = Math.Max( cbCombo.ActiveIndex, 0 );
Provided that element 0 is the default one.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list