Recent

Author Topic: LAMW: problem with KEYCODE_BACK  (Read 619 times)

schumi

  • New Member
  • *
  • Posts: 46
LAMW: problem with KEYCODE_BACK
« on: June 09, 2025, 01:07:14 am »
hi,
strange problem after upgrade to lazarus 3.4 with FpCupDeluxe, last LAMW, gradle 8.11.1, ndk 21e :
when I press the back button on any form the app closes

I have solved it with this code on SpecialKeyDown
Code: Pascal  [Select][+][-]
  1. mute:= True;
  2. if keyCode = 4 then  //KEYCODE_BACK
  3.   begin
  4.     Close ;
  5.     frmMain.Show ;
  6.   end;
  7.  
« Last Edit: June 11, 2025, 11:45:00 pm by schumi »

 

TinyPortal © 2005-2018