[Mono-dev] [Mono-list] RichTextBox and SeletionColor (Bug file?)
tleslie at tcn.net
Wed Dec 19 10:15:55 EST 2007
by setting the BackColor in the RichTextBox
before doing SelectionColor
got it to work,
but to be compatible with the MS .Net,
selecting (what would be a default anyways)
BackColor isn't required,
so I think this should probably be looked
at in the Mono distribution?
On Wed, 19 Dec 2007 09:35:49 -0500
ted leslie <tleslie at tcn.net> wrote:
> I have tried to use SelectionColor (and SelectionFont) in a RichText Box.
> the SelectionFont works, but the SelectionColor doesn't.
> I have tried under 1.2.4 and 1.2.6 and no Color modification in either.
> Also, the code runs in MS .net2.0 and the Color modification DOES works
> correctly using the mono generated exe run in MS XP .Net2.0
> Now it could just be that SelectionColor isn't implemented in Mono yet?
> but that seems odd, and I do seem to see code for it in the build,
> and you would think SelectionFont and SelectionColor would implement
> together closely.
> So I am baffed. And again, it does work when running under MS .Net2.0 (the same exe).
> If SelectionColor is supposed to work in Mono,
> can someone point me (or supply) an working example?
> ted leslie <tleslie at tcn.net>
> Mono-list maillist - Mono-list at lists.ximian.com
ted leslie <tleslie at tcn.net>
More information about the Mono-devel-list