Hi,
 
i can explain it on a sample. if u override a clicked method of a button on form:
 
"this" refers to button object.
 
"element" refers to form object.
 
 
"this" refers to only scope you are in, but "element" refers to whole object (form, 
report..).in this example, u must use "element" to call form method, "this" to call 
button method.
 
 
 
Anıl Özay
ERP Technical Consultant(Microsoft Axapta)
DataSistem Genel Otomasyon ve Sanayi Tic. A.Ş.
Web : <http://www.datasistem.com/> www.datasistem.com.tr 
<http://www.datasistem.com.tr/> 
Phone : (0232) 4631663 - 208
 
 

  _____  

From: axapta_dude [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 29, 2004 8:51 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] element and this


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

Thanx in advanced




Yahoo! Groups Sponsor   
ADVERTISEMENT
click here 
<http://us.ard.yahoo.com/SIG=1290kar90/M=298184.5022502.6152625.3001176/D=groups/S=1705006764:HM/EXP=1088625819/A=2164339/R=0/SIG=11e2d64in/*http://www.netflix.com/Default?mqso=60183348>
   
 
<http://us.adserver.yahoo.com/l?M=298184.5022502.6152625.3001176/D=groups/S=:HM/A=2164339/rand=278446815>
      

  _____  

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] <mailto:[EMAIL PROTECTED]> 
          
*       Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 




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




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
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:
     http://docs.yahoo.com/info/terms/
 


Reply via email to