|
-
Jul 4th, 2002, 10:58 PM
#1
Thread Starter
New Member
resolved - datagrid bound to ibindinglist object
I am having a problem with a datagrid bound to a collection that implements the ibindinglist interface.
I have AllowNew = true so that you can add new rows but the datagrid/currency manager are calling the addnew method (which is part of the ibindinglist interface) twice.
The first time the stack is like this:
DataGrid.OnMouseDown
DataGrid.Set_CurrentCell
DataGrid.AddNewRow
CurrencyManager.AddNew
myCollection.AddNew
The second time there is a couple of other calls in the stack:
DataGrid.OnMouseDown
DataGrid.Set_CurrentCell
DataGridAddNewRow.onEdit
DataGird.Edit
DataGrid.Edit
DataGrid.AddNewRow
CurrencyManager.AddNew
myCollection.AddNew
I have looked all through the code and breakpointed like crazy - it doesn't seem to be my code that is the problem.
Any ideas?
Last edited by deanh; Jul 6th, 2002 at 10:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|