It returns the dialog, created by base class. E.g. if you inherit your
class from runbasebatch, then you'll have one extra tab "Batch" on your
dialog. This tab will be created by super() method.
 

-----Original Message-----
From: Axapta-Knowledge-Village@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Gaethofs
Sent: Sunday, July 24, 2005 7:25 AM
To: Axapta-Knowledge-Village@yahoogroups.com
Subject: [Axapta-Knowledge-Village] dialog = super()

Dear all,

I found this dialog() method in the developer's guide:
Can someone tell me what exactly the statement 
DialogRunbase dialog = super(); does.


public Object dialog() 
{ 
    DialogRunbase dialog = super(); 
; 
    dialogField = dialog.addField(typeId(Integer)); 
    dialog.addTabPage("Tab label"); 
    dialog.addField(typeid(itemid)); 
    return dialog; 
} 

What is the benefit of using that approach?

regards,
Danny Gaethofs




Sharing the knowledge on Axapta. 
Yahoo! Groups Links



 






Sharing the knowledge on Axapta. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to