[Gtk-sharp-list] Changing the text of a lable ?
Lee Mallabone
gnome@fonicmonkey.net
17 Mar 2003 11:06:07 +0000
On Mon, 2003-03-17 at 10:57, Patrik Olterman wrote:
> Hello I am really new to C# and GTK# so please excuse my newbie
> questions:)
>
> I am trying to change the text of a lable when I compile I get the
> following error.
If I remember right, Text is a property rather than a method, so instead
of doing:
label1.Text("Case 2");
you just need to do:
label1.Text = "Case 2";
Hope that helps,
Lee.