PC Review


Reply
Thread Tools Rate Thread

Diff between PositionChanged and CurrentChanged ?

 
 
Hemang Shah
Guest
Posts: n/a
 
      21st Feb 2005
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


 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGhpbCBXaWxsaWFtcw==?=
Guest
Posts: n/a
 
      21st Feb 2005
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.

"Hemang Shah" wrote:

> 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
>
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Cancel BindingSource.PositionChanged Event? Tomasz J Microsoft ADO .NET 7 3rd Oct 2007 04:45 AM
BMB.CurrentChanged gets fired just once or twice?! Tom Spink Microsoft C# .NET 1 31st Oct 2006 02:25 PM
Diff between PositionChanged and CurrentChanged ? Hemang Shah Microsoft Dot NET Framework Forms 1 21st Feb 2005 04:09 PM
CurrencyManager PositionChanged exceptions swallowed Philip Fourie Microsoft Dot NET Framework Forms 0 17th Nov 2004 06:34 AM
VB: EndEdit won't save, PositionChanged does Brian Link Microsoft ADO .NET 4 16th Apr 2004 11:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:50 AM.