practise? In this case I have a dialog that runs a NewMyClass().
In the main-method of the dialog I would have something like:
//...
Args myArgs;
MyNewClass myNewClass;
;
if(dlg.prompt())
{
dlg.run();
//I need something to pass the values
myArgs = new Args("aFileName", "date", "amount");//->does not
compile
//Then I would like to create an instance of MyNewClass using
myNewClass = MyNewClass::main(myArgs);
}
So the initial question asked before is still valid.
How to solve this (design) problem?
That is: how to pass variables from a dialog to a (new) class object?
* Should I create a newMyClass with a main method that contains a
container instead of the Args object? Or is there a better (best
practise) way?
like:
static void main(container _container)
{
//...
}
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.