I'm trying to display some previously stored data when a ListView is clicked which I previously did using a ListBox like so:
However ListView doesn't hold the ItemData property so I need a different property to do this. Any help would be appreciated! :)
Btw, I'm looking for the simplest solution, not necessarily the best solution, I need to understand it! :p
Code:
Record_Position = Game_List.ItemData
Game_Channel = FreeFile
Open Game_File For Random As Game_Channel Len = Game_Length
Get Game_Channel, Record_Position, G
Title_Label.Caption = Trim(G.Game_Title)
Price_Label.Caption = "£" + Trim(G.Game_Price)
Developer_Label.Caption = Trim(G.Game_Developer)
Publisher_Label.Caption = Trim(G.Game_Publisher)
Age_Label.Caption = Trim(G.Game_Age)
Release_Label.Caption = Trim(G.Game_Release)
Stock_Label.Caption = Trim(G.Game_Stock)
Close Game_Channel
Btw, I'm looking for the simplest solution, not necessarily the best solution, I need to understand it! :p