I have a question on how you load items on to the scrolling list view. I can't find anything that shows the code for doing this. I want to load the records of a single field SQLite table on to the scrolling list field, which I assume is the equivalent of a ListBox in VB and RealBasic.
In RealBasic I have this code and it works.
Code: Select all
While Not rs.eof
List1.AddRow(rs.Field("Chapter").StringValue)
rs.MoveNext
wend
Also, another question... How do I load the text for a text field of one card onto the text field of another card? I know these are basic questions, but I have been searching the documentation and this forum, and I can't find anything.
I am from a Visual Basic and RealBasic background so, I trying to yet used to the LiveCode syntax.
In RealBasic it would be:
Code: Select all
Card2.txtCard2.Text = Card1.txtCard1.Text
Any help would be greatly appreciated.
Jim