Diff between PositionChanged and CurrentChanged ?

  • Thread starter Thread starter Hemang Shah
  • Start date Start date
H

Hemang Shah

BindingManager has two properties, PositionChanged and CurrentChanged

What is the difference between them.

I want to set flags on my form depending on the value of the current record
displayed on the form.

(update date & checkboxes).

Which event would I put my code into?

Thanks

HS
 
I would use CurrentChanged.

There are some circumstances where Current would change but the Position
would not (deleting the current DataRowView or setting a RowFilter that
causes the current DataRowView is be hidden).

All the Best,
Phil.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top