Element is used in scope of a form to refer the complete form object.

this is usually used to call the method of a particular element. like if you
are calling a method from a method written in Form/methods then using "this"
you can only call the one written within the methods written in form/method.
              if you are modifing a method in the datasource and you want to
call another method written in the datasource then you can use this.method
but if you want to call a method written in form/method then call using
element.method.

hope this helps you.

[Girish Bhatkal]
-----Original Message-----
From: Max Belugin [mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 09:25
To: axapta_dude
Subject: Re: [development-axapta] element and this


  Hello axapta_dude,

  �������, 29 ���� 2004 �., you wrote:

  a> I'm a newbie and i need some pointer from experts.What is the
difference between
  a> element.xxxx and this.xxxx .Why sometimes it use element and othertime
this

  Try  overrride, for example, button.clicked - this in this method will
  be button itself, but element will be parent form of this button.

  I think in form this is equivalent of element, isn't it?

  --
  Best regards,
  Max

  http://belugin.newmail.ru
  ICQ:9406811



        Yahoo! Groups Sponsor
              ADVERTISEMENT





----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/development-axapta/

    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to