Thanks for your help. I am new to the visual methods being more used to older languages, but this routine successfully loads my data into a list and shows it in a view. I would be grateful for any of your comments on my methods as well as showing me how to identify the data set which is touched.
Many thanks
Charles
Sub Savepipeschk_CheckedChange(Checked As Boolean)
Pipeview.RemoveView
If Savepipeschk.Checked Then
Pipe.diam = tpdiam
Pipe.temp = tptemp
Pipe.length = tplength
Pipe.flanges = tpflange
Pipe.valves = tpvalve
Pipelist.Add(Pipe)
'ToastMessageShow(Pipelist.Size,False)
Pipeview.SingleLineLayout.ItemHeight = 30dip
Pipeview.AddSingleLine("Diam " & Pipe.diam & " Temp " & pipe.temp & " Length " &pipe.length & " Flanges " & Pipe.flanges & " Valves " & Pipe.valves)
ScrollView1.Panel.AddView(Pipeview, 5dip, 15dip, ScrollView1.Width - 10dip, 190dip)
End If
End Sub