How do I get the cellclick event of one table in an array of tables?

fdx12345

Active Member
Licensed User
Longtime User
I have an array of tables(n). When I set up the capture event, the compiler does not like the indexing. Here I am trying to capture the cellclick event on table 12. The compiler does not like the (12) or anything indexed. It wants to see MyTables_CellClick(Col As Int, Row As Int)

B4X:
MyTables(12)_CellClick(Col As Int, Row As Int)

Anyway of capturing the event and keeping my tables in an array?
 

fdx12345

Active Member
Licensed User
Longtime User
Thought about that

I thought about that but I have 12 tables.... lots of code. I did not like doing it but I ended up modifing the Table class code to go to a specific module of mine. This works but will be a problem with upgrades. I also found a way of packing all 12 tables into one file then pulling those tables off again.

Thanks for the help.
 
Upvote 0
Top