On Sep 22, 2008, at 6:29 AM, Sibylle Koczian wrote:

> Should have seen the event object for myself, but it _is_ confusing  
> if form
> method and event handler have the same name.

        I try to begin all my event handlers with 'on...' to make them  
obvious for that reason.

> If I don't do anything else in this event handler I can leave out  
> the def
> statement, because the form has got an event handler called  
> "onFirst" anyway
> and it does exactly this, is that right?

        Yes. The base dForm class has the simple navigation handlers and  
methods.

> And if the event handler should do
> other things besides calling "self.first()", it might be better to use
> beforeFirst() and afterFirst(), right?


        Exactly.
        

-- Ed Leafe





_______________________________________________
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