LAMW: changed a few events signature lazarus / 43-Android ---------------------------------------------------------------------- jmpessoa · 2020-12-18 18:35 Hi, All! LAMW changed/fixed/improved a few events [properties] signature [by @ADiV] Fact: the compile don't like not used parameters... and point up many many  warnings/hints... Example: old signature: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  procedure Java_Event_pOnUp(env: PJNIEnv; this: jobject; Obj: TObject; Value: integer);  new signature: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  procedure Java_Event_pOnUp(env: PJNIEnv; this: jobject; Obj: TObject);  if you get any error, please, use the IDE Object Inspector to generate the new event [properties] signature! Thanks do @ADiV! ---------------------------------------------------------------------- Manlio · 2021-01-15 08:48 I think I found 2 bugs caused by the new events signatures. In these 2 java files, methods are called using the old signature: jToolbar.java line 50: controls.pOnClickGeneric(pascalObj, Const.Click_Default); It should become: controls.pOnClickGeneric(pascalObj); And the same thing here: jSearchView.java line 61: controls.pOnClickGeneric(pascalObj, Const.Click_Default); It should become: controls.pOnClickGeneric(pascalObj); ---------------------------------------------------------------------- jmpessoa · 2021-01-15 13:13 QuoteIn these 2 java files, methods are called using the old signature.... Fixed!!! Thank you!