highlight a cell (Table)

micro

Well-Known Member
Licensed User
Longtime User
Hi,
how i can highlight a cell into a table with the code?
I tried with hardware dll (MousClick) but does not work

Thanks
 

mjcoon

Well-Known Member
Licensed User
how i can highlight a cell into a table with the code?

It should be possible with the example in the Help:
B4X:
Table1.SelectCell ("colID", 4)
But in my experience the Table control is rather idiosyncratic and certainly does not behave as I expect...

MIke.
 

Subu

Member
Licensed User

Attachments

  • Mark.zip
    5.3 KB · Views: 231
Last edited:

klaus

Expert
Licensed User
Longtime User
I can compile it either with Alt1 and with the menu.

Do you get any error, or what is the problem.
Do you sill use the demo version?
If you look in the menu File/Compile are the menu entries Device EXE etc enabled or disabled. If they are disabled means that you use the demo version.

Best regards.
 

Subu

Member
Licensed User
I have the full version, purchased it yesterday. I can make exe files with other simpler code. This file gives me a problem.

Error message: Index was out of range. Must be non negative and less than size of collection.
Parameter name: Index
Line number: 36
Line: MakeButtonArray ("FormTtable", "btnTt", "ClickTtableBtn", txtFontSize.Text , txtStartPt.Text _
, txtNoOfCols.Text , txtHeight.Text , StudentNumber)
 

Subu

Member
Licensed User
ya its exact. Erel said he wud get back to me by email about this will keep u posted. Thanks
 

Subu

Member
Licensed User
Just to keep this thread complete. My problem was later solved.
I had initially used the demo version before buying the license.
Turns out when i had installed the licensed version my previous demo version did not get properly un installed. That was the root of the trouble.
Advice for newbies:
First delete all directories of anywhere software if you were using demo version before switching to licensed version.
Then install the licensed version.
... Thats how my problem got resolved.
Thanks to all for your advice & support.
Erel, do let us know in this thread if my advise is correct. I am new here so i dont want to give wrong advise by mistake.
:sign0060:
 
Top