Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private TableView1 As TableView
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.SetFormStyle("UNIFIED")
MainForm.RootPane.LoadLayout("1") 'Load the layout file, contains a tableview
MainForm.Show
Dim r As Reflector
r.Target = TableView1
r.AddEventHandler("TableView1_KeyPressed", "javafx.scene.input.KeyEvent.ANY")
End Sub
Private Sub TableView1_KeyPressed_Event(e As Event)
Log("pressed " & e)
End Sub