[Gtk-sharp-list] Properties empty after connection

Baltasar GarcĂ­a Perez-Schofield baltasarq at gmail.com
Sat Jan 14 07:47:26 UTC 2017


Hi, Sascha,

> 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.

-- Baltasar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170114/46ab52e7/attachment.html>


More information about the Gtk-sharp-list mailing list