There isn't as simple an equivalent as in vfp.
There are some minor variations depending on the .net language.
In C# for example the method you want to override has to be 'virtual' (Overridable in vb) in the parent (base) class otherwise the compiler generates an error.
Like this:
public class aBaseClass
{
public virtual void DoSomething()
{
//doing something
}
}
public class anotheClass : aBaseClass
{
public override void DoSomething()
{
//doing something else
}
}
>HI All
>
>Is there an equivalent to the VFP NoDefault command in .NET ?
>Or is one forced into the paradigm of Overides Methods ?
>
>
>TIA
Mathias Banda
Time is longer than a rope.