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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click Name in Grid and "Go"

Status
Not open for further replies.

SMCmtg

Programmer
Mar 27, 2000
90
US
What I have is a "gridclient".
In col one I have the "Name" of the client.
In col two I have a command btn to go to the record I am sitting on.
In col three and beyond I have "other" text fields.
AfterRowColChange the record is "highlighted".
This all works fine. . .

My question is: Can I do away with the commandbtn in the grid and merely click on the record/namecol and "go", and if so, where do I put the code?

Any feedback/ideas would be appreciated.

THX
Bill
 
HI,

1. Do not put the code in the CLICK EVENT or else when the user wants to choose the record.. and clicking for that will activate the click event. SO if the Grid has more rows than can be viewed, this can create a problem..

2. Alternative is to put the cod as a DOUBLE CLICK event.
You can put the code in
Column1.Text1.DblClickEvent


Hope this helps :)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top