Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
jImageButton OnClick event doesn't work
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
order of evaluation of ov...
by
Kays
[
Today
at 05:15:41 pm]
Child board for reporting...
by
rvk
[
Today
at 05:00:16 pm]
Problems with Gitlab
by
rvk
[
Today
at 04:54:43 pm]
How to disable the compat...
by
salvadordf
[
Today
at 04:16:38 pm]
Was:Forum Upgrade? by @Re...
by
Joanna
[
Today
at 03:42:32 pm]
Key Word vs Key Char
by
paweld
[
Today
at 03:19:06 pm]
Browser User Agent & Frie...
by
MarkMLl
[
Today
at 02:52:58 pm]
LazCAD – First Release!
by
maurog
[
Today
at 02:41:37 pm]
TStateMachine
by
matthius
[
Today
at 02:20:26 pm]
DBlookupcombobox question
by
Petrus Vorster
[
Today
at 01:43:36 pm]
CPU & Memory Profiler
by
ALLIGATOR
[
Today
at 01:22:14 pm]
Font draw in customdraw i...
by
mikutu
[
Today
at 10:28:00 am]
[Solved] Unable install l...
by
dsiders
[
Today
at 10:27:32 am]
[Solved] PATCH method in ...
by
JohnnieK
[
Today
at 09:13:00 am]
Forum is so SLOOOW... Aga...
by
Gustavo 'Gus' Carreno
[
Today
at 08:15:51 am]
Is there a "canonical" Gi...
by
dsiders
[
Today
at 08:04:09 am]
IDE odd behaviour
by
alpine
[
Today
at 07:38:13 am]
Terminal Component Availa...
by
JZS
[
Today
at 07:37:28 am]
Problem with pasting text...
by
paweld
[
Today
at 06:22:36 am]
Advice/Guidance Needed Wi...
by
dbannon
[
Today
at 06:07:33 am]
Lazarus IDE Windows 64 lo...
by
StuPot
[
Today
at 12:01:38 am]
My first Attempt making a...
by
jamie
[September 09, 2024, 11:43:32 pm]
Extended Module Player
by
Gigatron
[September 09, 2024, 09:11:48 pm]
How to create webhook in ...
by
Prakash
[September 09, 2024, 07:59:41 pm]
New Component jZCamView
by
Guser979
[September 09, 2024, 07:49:22 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: jImageButton OnClick event doesn't work (Read 656 times)
dseligo
Hero Member
Posts: 1334
jImageButton OnClick event doesn't work
«
on:
July 10, 2024, 10:51:58 am »
To fix it: in laz_and_controls_events.pas (fpc-lazarus\ccr\lamw\android_bridges) add in uses:
Code: Pascal
[Select]
[+]
[-]
imagebutton
and at the end of Java_Event_pOnClickGeneric procedure:
Code: Pascal
[Select]
[+]
[-]
if
Obj is jImageButton
then
begin
jImageButton
(
Obj
)
.
GenEvent_OnClick
(
Obj
)
;
Exit
;
end
;
Logged
jmpessoa
Hero Member
Posts: 2312
Re: jImageButton OnClick event doesn't work
«
Reply #1 on:
July 13, 2024, 07:24:21 pm »
Fixed!
Thank you!
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
jImageButton OnClick event doesn't work
TinyPortal
© 2005-2018