Thanks theuserbl,
that is quick ... And dirty
...
I am aware of a solution like that. As you pointed out it might be better to use the java referenz.
Thats my thing with Jabaco I guess. I am never quite sure whether to use Java "shortcuts"/"detours" or not!?
Staying with our little example here if I would set up a keylistener
|
Jabaco Source
|
1
|
Text1.Parent.addKeyListener(Me)
|
I would have to do that for every TextBox I need one for. Now in the key event I need to sort out wich TextBox fired the event
|
Jabaco Source
|
1
|
If Text1.Parent.hasFocus = True Then
|
Is it possible to add different keylisteners to different controls?
Does all this have any impact performancewise compared to using the VB syntax of jabaco (Private Sub Text1_KeyPress)?
The compiled .jar is pure java anyways so my guess is it does not make any difference!
Dani