[Mono-list] [Mono-dev] RichTextBox and SeletionColor (Bug file?)
luke.a.page at gmail.com
Wed Dec 19 10:17:37 EST 2007
You have the Rich Text Box set as readonly?
I posted the work-around the set the back colour earlier today...
On Dec 19, 2007 3:15 PM, ted leslie <tleslie at tcn.net> wrote:
> 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?
> > Thanks,
> > --
> > ted leslie <tleslie at tcn.net>
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> ted leslie <tleslie at tcn.net>
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
Luke Page - 07790587889 - Ex Libris Records
www.exlibrisrecords.co.uk - a creative & challenging independent
record label, with wolves.
More information about the Mono-list