On 07/21/2010 06:15 PM, Mike Turchenkov wrote:
> Files that are created with AppWizard, sometimes contain "app =
> self.Application" string in some methods.
>
> AFAIU, this feature exists only for comfort if I want to use app
> object in method, and can be deleted otherwise.
>
> Is it right?
>
> PS. Didn't find it in mail list, but I think that it is a sort of FAQuestion 
> ;)
>
> Thanks.
> _______________________________________________
>    
I'll take a stab at this one.  app = self.Application gives you a 
reference to self.Application so instead of typing:

     self.Application.method() or self.Application.property = 
'somevalue' you can type
     app.method() or app.property = 'somevalue' within that method.

     It is even more valuable when the self.Application is deeper and 
longer.  You can just give it a reference and use it as if you were 
doing all the typing.


-- 
Jeff

-------------------

Jeff Johnson
[email protected]



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to