' Respond to a mouse down action over the button grid
Public Sub touch_MousePressed(EventData As MouseEvent)
' Ignore unless this is the first (ie "button-down") event
If EventData.PrimaryButtonDown And Not(dragging) Then
... ... ...
... ... ...
dragging = True
start.Visible = False <=== ADD THIS LINE
End If
End Sub
... ... ...
' Update data in response to drag-drop operation
Private Sub updateData(start As Int, stop As Int)
... ... ...
btnA.Text = btnB.Text
btnA.Visible = True <=== ADD THIS LINE
btnB.Text = temp
' Any database updates should also be done here ...
' ... ... ... ... ...
End Sub