Android Question Flexible Table. It's possible ?

Mauricio Pereira

Member
Licensed User
Longtime User
I have an application with 8 columns. On the cell phone display, only the first 4 columns are visible (part 1). Of course, touching the screen I can move and see the other columns (part 2).
However, if, for example, I highlight a cell, by code, in the first part of the display and then, by code, that is, without touching the display, I highlight a cell in part 2 of the display, only touching the screen can I see the highlighted cell.
I tried using JumpToRowAndSelect but it doesn't work exactly as I would like.
Is it possible to do this or am I wanting the impossible?
 

Mauricio Pereira

Member
Licensed User
Longtime User
Klaus,
With the new table (version 3.24) the following error appears:
B4A Version: 9.90
Java Version: 8
Parsing code. Error
Error parsing program.
Error description: Unknown type: cursor
Are you missing a library reference?
Error occurred on line: 3258 (Table)
Private Sub CheckColumnDataTypes (MyCurs As Cursor) As String ()

I was using version 3.11 and it didn't give any error except the problem I reported.
I didn't make any changes to the application.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
The error in your post #5 means that you didn't check the SQL library.
Sorry. I don't understand?
What did you change?
What did you replace?
Are you still using version 3.11 ?
 
Upvote 0

Mauricio Pereira

Member
Licensed User
Longtime User
Klaus,
I copied the sub "JumpToRowAndSelect" from table 3.24 and pasted it into table 3.11. As I reported, the JumpToRowAndSelect worked ...
I'm using 3.11.
The error in 3.24 of the "SQL Library" is that I removed (from 3.11) all the subs referring to SQL because my table is very simple and I don't use a database. The application becomes lighter.
With my bad English, the surprise is that you managed to understand what I wrote.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
There were quite some minor bugs amended between version 3.11 and 3.24.
Did you amend your special 3.11 version with these.
You find what has been changed on top of the Table.bas module.
 
Upvote 0
Top