Code Comments
Programming Forum and web based access to our favorite programming groups.Is there a way when you click on a cell of a datagrid that you can tell which column that cell is in? Thanks in advance for any help you can give!!!
Post Follow-up to this messageTry the Col property -- Chris Hanscom - Microsoft MVP (VB) Veign's Resource Center http://www.veign.com/vrc_main.asp -- Read. Decide. Sign the petition to Microsoft. http://classicvb.org/petition/ "Rick" <rick@di-wave.com> wrote in message news:uDjprHRTFHA.3176@TK2MSFTNGP09.phx.gbl... > Is there a way when you click on a cell of a datagrid that you can tell > which column that cell is in? > > Thanks in advance for any help you can give!!! > >
Post Follow-up to this messageThat worked so perfect. Thanks sooooooo much!!! Here is the line I used incase anyone needs something similar. I want to get the database field of that column I have a popup menu from a right-click and I obtain the column with this code. DataGrid3.Columns(DataGrid3.Col).DataField "Veign" <NOSPAMinveign@veign.com> wrote in message news:uqawZiRTFHA.2096@TK2MSFTNGP14.phx.gbl... > Try the Col property > > -- > Chris Hanscom - Microsoft MVP (VB) > Veign's Resource Center > http://www.veign.com/vrc_main.asp > -- > Read. Decide. Sign the petition to Microsoft. > http://classicvb.org/petition/ > > > "Rick" <rick@di-wave.com> wrote in message > news:uDjprHRTFHA.3176@TK2MSFTNGP09.phx.gbl... > >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.