Hi there Shawn,

based on the two new items I tried to fix the KiXlander script :

Added '$Form.OnKeyDown = "Form_KeyDown()"

replaced the keycheck ('IF $Form.KeyState(&26) and $fuel > 0) with another asynchronous DoEvent ('$=Execute($Form.DoEvents(1))')

and added the key checker as another function :

code:
 function Form_KeyDown()
If $Form.KeyCode = 26 and $Fuel > 0
$Speed = $Speed - 2
$Fuel = $Fuel - 5
$txtFuel.Text = $Fuel
$Thrust = 0
EndIf
endfunction

That's not working using 4.12 Beta 1

Any comments ?

J.

P.S.: It doesn't seem to even call the function [Confused]
hmmm ... maybe it does work only with listboxes actually ?

[ 17. September 2002, 10:40: Message edited by: jpols ]
_________________________