I am having a datagrid (using VB6.0 sp.06 /forms created with vb5.00 but contorls updated ver vb6.0) with columns having Button. When I click the Button a listbox is visible and it is positioned at same row dropping down from the next column (So the column which is going to updated is visible). This is I done with Datagrid.row.top properties.
It is working Fine. But when I double click the item in listbox, that selected listed item is updated to the column and the list box is made visible=false. That is what I wanted. But the problem is that again the selected list item is updated on the column in the datagrid where the mousepointer is rest (when selecting item in the list box) justlike mouseclick leaked from listbox to datagrid and updated column with selected listbox item.
How I can avoide the second update?
It is working Fine. But when I double click the item in listbox, that selected listed item is updated to the column and the list box is made visible=false. That is what I wanted. But the problem is that again the selected list item is updated on the column in the datagrid where the mousepointer is rest (when selecting item in the list box) justlike mouseclick leaked from listbox to datagrid and updated column with selected listbox item.
How I can avoide the second update?