Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DblClick on a grid record 1

Status
Not open for further replies.

florindaniel

Programmer
Dec 4, 2009
120
RO
Hello,

I have a ReadOnly grid with products and I want to double-click (or right click) on one record (= one row of the grid), in wichever column, and enter in some Modify procedure.

My problem is the DblClick event of the grid is NOT triggered when doing so on a record; instead it is triggered
the DblClick event associated to the Text linked with the column I make the DblClick onto (well, quite normaly, frankly speaking).

But this means I must put the code in each column of the grid (1, 10 or 100 times) and I think there must be a better way to handle this.

Thank you
Daniel
 
Alan, thanks a lot, it works.

it was QUICK , simple and effective

you have no idea how many columns i've hand coded with
the same line, until I got onto this huge grid I have now
and I cracked :)

Thanks again
Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top