Hi all,
I’m playing with the Xojo supplied example, TableDetail. I’ve extended to add a shared property in the DetailView so I show what row was selected. I added the following code in the AccessoryAction event.
Dim details As New DetailView
details.iRow = row
Self.PushTo(details)
However the row number returned never seems to be correct, some rows return 0, some correct. I then added an Action event as added the following code, add the row number in the View1 open event to add row number to tag, still comes back incorrect. Sometimes it reports correct, then next time a wrong report, sometimes 0.
Dim details As New DetailView
dim myCell As iOSTableCellData
details.iRow = me.RowData(section, row).Tag
Self.PushTo(details)
Trying to get row details. Tried a string in the Tag too, reports different, sometimes empty!
Xojo 2015r4
Any thoughts?