L
Lieven De Foor
Guest
When calling the BindingSouce:RefreshAll() method, the current Position seems to get lost and reset to 0. Is this intended behavior? Can it be suppressed? I'm currently creating a custom BindingSource which has SuspendPositionChanged/ResumePositionChanged methods so I can suppress any listeners from getting the event when calling RefreshAll + reset original position, but not having the position change at all would be even better. Anyone from Progress can comment on this? DEFINE VARIABLE BindingSourcePosition AS INTEGER NO-UNDO. BindingSourcePosition = BindingSource
osition. BindingSource:SuspendPositionChanged(). BindingSource:RefreshAll() BindingSource
osition = BindingSourcePosition. BindingSource:ResumePositionChanged(). /* And nobody noticed a thing... */
Continue reading...
Continue reading...