The answer is that your are trying to use a control which is not actually a view in getItemFromView
try using
Private Sub TxtServiceQty_TextChanged (Old As String, New As String)
private mycustomview as b4xtextfloatfield = sender ' I am assuming this is the correct control from the error message, it may not be
Dim index As Int = ListViewServices.GetItemFromView(mycustomview.mbase) ' use a real view rather than the custom control object
Dim iv As ItemValue = ListViewServices.GetValue(index)
iv.LblTotalPrice.text = iv.TxtServicePrice.Text * iv.TxtServiceQty.text
End Sub
There are posts on the forum which talk about this issue.
Basically, a custom control is not a view.