In the Tableview there are many columns and I must necessarily give the possibility to resize them to the user. It is not possible to create an event ColumnResize_Event for the ResizeFeaturesBase class?
alternatively I could create a line of text boxes within the TableView, but if I make a double click on the header of Tableview its text box disappears. Is there a way to solve this problem?
alternatively I could create a line of text boxes within the TableView, but if I make a double click on the header of Tableview its text box disappears. Is there a way to solve this problem?
You can use this code to disable double click on the vertical line:
B4X:
Dim r As Reflector
r.Target = TableView1
r.AddEventFilter("TableView1MouseClicked", "javafx.scene.input.MouseEvent.ANY")
Sub TableView1MouseClicked_Filter(e As Event)
Dim jo As JavaObject = e
Dim v As Node = jo.RunMethod("getTarget", Null)
If GetType(v) = "javafx.scene.shape.Rectangle" Then
Dim m As MouseEvent = e
If m.ClickCount >= 2 Then
m.Consume
End If
End If
End Sub