GlKeyboard lazarus / 13-General ---------------------------------------------------------------------- TeeBee87 · 2005-10-16 19:51 uses GlKeyboard; ... ... procedure Thra.GLsceneCadencerProgress(Sender: TObject; const deltaTime, newTime: Double); begin      if iskeydown('a') then      begin          navigator.moveforward(0.1);      end;      glv.Invalidate; end; When I use mousedown it works well but with keyboard.. where is a problem?... HELP !! ---------------------------------------------------------------------- Marc · 2005-10-17 09:33 What is the problem ? ---------------------------------------------------------------------- Anonymous · 2005-10-17 13:41 Quote from: "Marc"What is the problem ? I dont speak english well enough ... So I'll try to explain my problem When I use command    if iskeydown('a') then moveright; IT DOESNT WORKS!! Always its moving right.... this condition is always true....... so ... help ---------------------------------------------------------------------- Marc · 2005-10-19 13:16 where is IsKeyDown declared ? I cannot find it in the lcl sources. ---------------------------------------------------------------------- Anonymous · 2005-10-28 21:43 Quote from: "Marc"where is IsKeyDown declared ? I cannot find it in the lcl sources.I dont know what do you talking about... I dont speak english well enough ... explain me where is problem pls ---------------------------------------------------------------------- Anonymous · 2005-11-04 21:45 Quotewhere is IsKeyDown declared ? I cannot find it in the lcl sources. Because It's in GLKeyboard. What version of GLScene do you have? Because at the top of the source for GLKeyboard, there is a fix note at the top of the source- "
  • 17/11/03 - Egg - Fixed IsKeyDown (VK) (A. P. Mohrenweiser)". It seems unlikely you are using a version from before 17/11/03 though...