[MonoDevelop] Stetic Textview text ?

Jacob Ilsø Christensen jacobilsoe at gmail.com
Tue Nov 28 11:45:01 EST 2006


Hi.

Are you sure the TextView variable has been initialized before you use it?

Have you looked at whether it is treeview1 or treeview1.Buffer which
is null? Is it on purpose that the TextView variable is named
treeview1 or is it a stetic suggestion?

/Jacob

On 11/28/06, Nil Gradisnik <ghaefbgtk at gmail.com> wrote:
> Can someone please help me on this one.
>
> I'm developing this app fairly simple, I'm using Monodevelop 0.12 and
> I've built my gui in stetic. I need to put some text into Textview
> widget which I created with Stetic designer in Monodevelop.
>
> If I use this code:
>
> treeview1.Buffer.Text = "some text";
>
> I get "Object reference not set to an instance of an object".
> How do I put some text in my Textview ?
>
>
> I need help on this one ASAP.
>
> Thanks
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>


More information about the Monodevelop-list mailing list