Is there any way to change the selected row in a DataGridView programmatically?


Author
Message
Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Hi All.

The reason that I want to do this is necause I am using a context menu to allow them to add, edit and delete item (it calls up a modal dialog). It is a little confusing to them if they right click, select edit or delete, and the information from a different row shows up in the modal dialog.

TIA

Reply
Marcia G Akins
Marcia G Akins
Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)Advanced StrataFrame User (698 reputation)
Group: StrataFrame Users
Posts: 322, Visits: 529
Edhy Rijo (09/05/2008)
Hi Marcia,

When I first started with SF and coming from VFP I tried to use a datagrid, but if the data in the grid/listview will be readonly, then nothing beats the listview enhancements in version 1.6.6.

Since I practically have this working the way I want, I will take that advice in the future and refactor this form after I have enoough cranked out to show the client at our next meeting Smile

Thanks for the advice.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Marcia G Akins - 17 Years Ago
Edhy Rijo - 17 Years Ago
Marcia G Akins - 17 Years Ago
Dustin Taylor - 17 Years Ago
Marcia G Akins - 17 Years Ago
StrataFrame Team - 17 Years Ago
StrataFrame Team - 17 Years Ago
                         [quote][b]Ben Chase (09/05/2008)[/b][hr]It's probably called...
Marcia G Akins - 17 Years Ago
                             [quote][b]Marcia G Akins (09/05/2008)[/b][hr]Yes. I found that event....
Edhy Rijo - 17 Years Ago
                                 [quote][b]Edhy Rijo (09/05/2008)[/b][hr][quote][b]Marcia G Akins...
Marcia G Akins - 17 Years Ago
                                     Could you add a context menu to the grid? I have done this with the...
Bill Cunnien - 17 Years Ago
                                     [quote][b]Marcia G Akins (09/05/2008)[/b][hr]And after your last...
Edhy Rijo - 17 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search