SIL.FieldWorks.Common.Controls.ClearMethod.OkToChange C# (CSharp) Method

OkToChange() protected method

We can do a replace if the current value is not empty.
protected OkToChange ( int hvo ) : bool
hvo int
return bool
		protected override bool OkToChange(int hvo)
		{
			if (!base.OkToChange(hvo))
				return false;
			ITsString tss = OldValue(hvo);
			return (tss != null && tss.Length != 0);
		}