M Mauricio Pereira Member Licensed User Longtime User Aug 1, 2020 #1 In the small attached program where I am testing the use of the Flexible table, I was unable to solve the following problem: when I click on a cell the row and the cell are highlighted what is desired. If I click on another cell on another line, the first is deselected and the new line / cell is highlighted. However, if the second cell is on the same line as the first, the line / cell is deselected but the new clicked cell (in then same row) is not highlighted. Only by clicking again will the line / cell be highlighted. Is it normal or am I making a mistake? Attachments Test01.zip Test01.zip 252 KB · Views: 437
In the small attached program where I am testing the use of the Flexible table, I was unable to solve the following problem: when I click on a cell the row and the cell are highlighted what is desired. If I click on another cell on another line, the first is deselected and the new line / cell is highlighted. However, if the second cell is on the same line as the first, the line / cell is deselected but the new clicked cell (in then same row) is not highlighted. Only by clicking again will the line / cell be highlighted. Is it normal or am I making a mistake?
klaus Expert Licensed User Longtime User Aug 1, 2020 #2 It is normal with your settings. You had ZeroSelection checked, I unchecked it and it works as you expect it. ZeroSelection checked means that when you reselect a selected line it becomes unselected. Attached the modified project. Attachments Test02.zip Test02.zip 34.4 KB · Views: 466 Upvote 0
It is normal with your settings. You had ZeroSelection checked, I unchecked it and it works as you expect it. ZeroSelection checked means that when you reselect a selected line it becomes unselected. Attached the modified project.
M Mauricio Pereira Member Licensed User Longtime User Aug 1, 2020 #4 Klaus, Can we use the Flexible Table to select, by code, a cell, that is, highlighting, without clicking on it ? Thanks for listening. Upvote 0
Klaus, Can we use the Flexible Table to select, by code, a cell, that is, highlighting, without clicking on it ? Thanks for listening.
klaus Expert Licensed User Longtime User Aug 1, 2020 #5 Sure: B4X: Copy Private rc As RowCol rc.Col = 4 rc.Row = 2 Table1.SelectRow(rc) Upvote 0