Webview cell content example by Skizzo

fatman

Active Member
Licensed User
Longtime User
Hi Folks,

on 05-14-2011 Skizzo posted an example of getting the contents of cells in webview: www.b4x.com/forum/basic4android-get...5-dbutils-android-databases-now-simple-2.html

When I try to compile the example I always get an error at line :
riga=lista.Get(row) with the error-message "Unknown member: get"

What is lista? To my mind somethings missing in the example... At least an initialization of lista.

Any comments and suggestions are welcome.

Thanks Fatman
 

Ricky D

Well-Known Member
Licensed User
Longtime User
lista would be a List

B4X:
Dim lista As List

cheers, Ricky
 
Upvote 0

fatman

Active Member
Licensed User
Longtime User
Thanx Ricky D

O.K. got that.

Right now I´m stuck with that last line:

main.IDrowselected=riga(0) :BangHead:

Got bloody fingers from searching... but cannot find IDrowselected .

Any hints (I want to learn by myself) are welcome.

Fatman
 
Upvote 0

Ricky D

Well-Known Member
Licensed User
Longtime User
And of course it would need to be initialized somewhere before it is used
 
Upvote 0

Ricky D

Well-Known Member
Licensed User
Longtime User
main.variable is defined in main

look in the main module for its definition but it wouldn't be there if you're getting that error. Can you post the code inside code tags please
 
Upvote 0

fatman

Active Member
Licensed User
Longtime User
Thanks again Ricky D

Finally I got it working!

The example of Skizzo was a little bit short thus making it hard to understand (for a newbie).

Fatman
 
Upvote 0

Ricky D

Well-Known Member
Licensed User
Longtime User
That's good.
I use webview for all my grid needs.
It can scroll both ways and is quite good looking.
You can customize all sorts of things. I love the auto resizing of columns for one.

Cheers Ricky
 
Upvote 0
Top