datagrid'n'click

bzbiz

Freshman
Joined
Mar 17, 2003
Messages
34
Location
Emilia - Italy
Hi everybody!

This my question:

i want that when i click on a datagrid the grid naviagateback.

Simply isn't it?

Ok, but How to tell the program i've clicked on the table? If i doubleclick on the grid in design mode .NET give me a 'navigate' event. I want something like the old vb6 'Private Sub myGrid_click()'

one more thing: i use VB.NET

TIA

ByeZ
By
BiZ
 
Solved!

How?

Easy, i put a button on the form, then i clicked on it and the i've changed button_click with datagrid_click, and button.click with datagrid.click

eh eh, no elegant but it works!

ByeZ
By
BiZ
 
An easier way is to use the drop-down boxes in code view. At the top of the code editor, use the left drop-down to select the control you're interested in and the right one to select the event you want to handle.
 
Back
Top