Hello
I was create an instance of form, and I want call an acction of the principal
Hello
I was create an instance of form, and I want call an acction of the principal
You could pass the father graph to a public variable in the child. That would allow the child to invoke the father’s action. There might be a more elegant way to do that.
ChildGraph child = PXGraph.CreateInstance<ChildGraph>();
child.myFather = this;
child.myFather.fatherAction();
We're developers. We can talk about what we want to do, but if we're going to solve a problem, we either need code or screenshots 🙂
You could pass the father graph to a public variable in the child. That would allow the child to invoke the father’s action. There might be a more elegant way to do that.
ChildGraph child = PXGraph.CreateInstance<ChildGraph>();
child.myFather = this;
child.myFather.fatherAction();
Thanks
but I reviewed there isn’t not exist property myFather
As Daryl mentioned, we’re going to need more information about what you’re attempting to do. What screens and graphs are you working with?
I want call method in the father
the method would do the following: base.Base.Activities.View.RequestRefresh();
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.