CursorAdapter Event Fire Order Question

Author: Chuck Flowers

Posted: 2011-02-27 at 12:02:23

(from What's New in Visual FoxPro 8, page 134)

For a CursorAdapter instantiated in code, the Init event fires before all

others, as you'd expect.

But for a CursorAdapter in the DataEnvironment of a form, the event order is

different:

*

*

*Event Order For a CursorAdapter in the DataEnvironment of a form:*

DataEnvironment.OpenTables */* Is this right,

does DataEnvironment.OpenTables fire before DataEnvironment.BeforeOpenTables

?

DataEnvironment.BeforeOpenTables */* OR should this

line read as CursorAdapter.BeforeOpenTables ?

CursorAdapter.AutoOpen

CursorAdapter.BeforeCursorFill

CursorAdapter.CursorFill

CursorAdapter.AfterCursorFill

CursorAdapter.Init

DataEnvironment.Init

Thanks,

Chuck Flowers

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/AANLkTikdN+QDeNxvNOaqv1i2FZYfH2tKvnbVYrjfG+6X@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Chuck Flowers