Controlling one form methods from another form:

Hi,
Yes you can, now on the first form create a new method put in that method the code you want to excute wheather its actions for specific control on the form or properies for controls and lets call it “PerformAction”, now on the second form all you have to do is to type this line of code to perform the method on the first form that will access any controls you want:

element.args().caller().PerformAction();

in this way this code will triger the code in the method on the first form that will contain any event or access property you want.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s