take the value in euro in a listview and display it in a textbox

fifiddu70

Well-Known Member
Licensed User
Longtime User
here I am again with another question, I have a listview with text and numbers that have been loaded from a text box, for example: burger € 2.00 in the click event I used the following code to remove the line, for example:

B4X:
Sub listview_ItemClick (Position As Int, Value As Object)
   ListView.RemoveAt(Position)
   What I put here?
End Sub
I need at the click event, taking the cost of the hamburger and display it in a textbox,
are a step away from the end of my project if I can solve this puzzle :BangHead:
 

klaus

Expert
Licensed User
Longtime User
It depends on how you filled the ListView.
The solution to extract the cost is the same as in the other post.
If you filled it with AddSingleLine then
Replace textboxdescription.Text by Value.
I would put this code before ListView.RemoveAt(Position).

Best regards.
 
Upvote 0
Top