Do you have some object-oriented programming notion? Super() calls the method you just overloaded. For example:
Create a MenuItemButton and link it so it call the menu item InventTable. This button, like other buttons, contains the basics methods like clicked() but you can't really see it. The clicked() method is called when the user click on the button (No seriously? ;-) ). But if you "overload" clicked method by creating a new method also called clicked(). It will look like this :
void clicked() {
super();
}
>From now, nothing has changed. The button opens InventTable. But if you comment the call to super like that :
void clicked() {
//super();
}
The button will not execute his basic clicked() method code and there for will not open InventTable. Now, understand this behaviour and generalize it for everything and you get the purpose of super() (Really raw overview).
Questions?
Steeve...
-----Message d'origine-----
De�: axapta_dude [mailto:[EMAIL PROTECTED]
Envoy�: 3 juin 2004 15:19
��: [EMAIL PROTECTED]
Objet�: [development-axapta] help on super()
hi all...i already read help in axapta on super() but still cannot understand the purpose of
super() in form/report.....Can anyone tell me the purpose of super() in simple and plain
english....
thanx in advanced
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.

