Subject | RE: [IBO] OnGetCanScroll without exception |
---|---|
Author | Jason Wharton |
Post date | 2007-03-13T16:36:24Z |
Tomek,
tidy work but my feelings are that forcing an OnBeforeScroll event prior to
an OnBeforePost event would be inconsistent because the attempt to post may
not be as a result of attempting to scroll. I'd have to look into this
more.
Jason
> I don't want changes made to dataset to be Auto-PostedIf it is inconsistant with everything else then I could look into doing some
> if user scrolls the dataset (eg accidentally by clicking
> on the grid). Either Abort scroll if dataset is in
> dssEdit/dssInsert or Cancel changes before scroll.
> I've just found that First/Last DO fire OnBeforeScroll
> but unfortunately Posts chagnes before fire OnBeforeScroll
> - is it a bug??.
tidy work but my feelings are that forcing an OnBeforeScroll event prior to
an OnBeforePost event would be inconsistent because the attempt to post may
not be as a result of attempting to scroll. I'd have to look into this
more.
Jason