>Is it correct to put a new method on your class? If yes, how do you call the method with it?
>
>Like I've created a class with a set of button, add, edit, delete etc.
>
>When Add is clicked, I want other buttons to go disable. So I added a new method on that same class.
>
>But I don't know how to call it.. Thisform is obviously not the right command.
>
>Pls help.
If you want to call it from the button, you would call this.parent.EnableControls()
If it's not broken, fix it until it is.
My Blog