U
UJ
I have a text object (see my previous post) that I've added some
functionality to. But I don't want the user to be able to change the text
without calling my routines. So I added the following code:
public override string Text
{
get
{
return base.Text;
}
}
but I can still do something like testobject.text = "Fred"; and it
works. How can I make that not valid?
TIA - Jeff.
functionality to. But I don't want the user to be able to change the text
without calling my routines. So I added the following code:
public override string Text
{
get
{
return base.Text;
}
}
but I can still do something like testobject.text = "Fred"; and it
works. How can I make that not valid?
TIA - Jeff.