void clicked()
{
Args args;
;
args = new Args();
args.caller(element.this());
args.record(Table);
args.parm(element.variableMethod());
new Menufunction(menuItemDisplayStr(NewForm),
MenuItemType::Display).run(args);
super();
Table_ds.refresh();
}
Form2:
public void init()
{
str var;
table table;
;
var = element.args().caller();
table = element.args().record()
//and so on ...
}
Good luck :)
Morten
-----Original Message-----
From: abcdplkm [mailto:[EMAIL PROTECTED]
Sent: 27. august 2004 11:52
To: [EMAIL PROTECTED]
Subject: [development-axapta] How to send a parameter with the clicked()
method of a button?
Hi,
I have 2 forms and when i click on the button of form1 the other
form is opened. I have a variable (object) declared on form1 and I
want to access this variable on form2.
How do I do this?
Can I send a parameter with the clicked() method of a button? Maybe
another solution? Any help is welcome!!
Btw I'm working with webforms!
Regards,
Michel
Yahoo! Groups Links
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

