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
WIKI Timeout issues
Please read here if you have trouble connecting to the wiki
Recent
Window positioning in QT5
by
HotShoe
[
Today
at 12:02:43 am]
FPSpreadsheet v2.0 releas...
by
RayoGlauco
[June 24, 2025, 11:21:43 pm]
Hints for method name mis...
by
dsiders
[June 24, 2025, 10:17:23 pm]
High resolution timing - ...
by
MarkMLl
[June 24, 2025, 10:06:14 pm]
FPC 3.2.4-rc1 available
by
MarkMLl
[June 24, 2025, 09:28:56 pm]
Has anyone loaded ReactOS...
by
MarkMLl
[June 24, 2025, 09:24:50 pm]
Changing the font on a ca...
by
cov
[June 24, 2025, 08:51:54 pm]
IStringList...
by
cdbc
[June 24, 2025, 08:35:57 pm]
Threaded application in M...
by
AlanTheBeast
[June 24, 2025, 07:54:52 pm]
No access to the wiki
by
zed
[June 24, 2025, 06:53:08 pm]
A Tutorial for LazReport
by
miab3
[June 24, 2025, 06:35:40 pm]
ShellListView Bug ?
by
Bart
[June 24, 2025, 06:32:33 pm]
Will pay for a solution
by
Juerg
[June 24, 2025, 05:54:28 pm]
Using TMemDataset
by
rdxdt
[June 24, 2025, 03:25:10 pm]
DBF sorting
by
Petrus Vorster
[June 24, 2025, 02:40:11 pm]
Using AI to generate fpdo...
by
dstrenz
[June 24, 2025, 02:24:34 pm]
Why is -Cg forced and can...
by
n7800
[June 24, 2025, 12:47:26 pm]
[SOLVED] Are there units ...
by
Thaddy
[June 24, 2025, 11:23:06 am]
TTask 'file not found' er...
by
Thaddy
[June 24, 2025, 11:03:46 am]
A cross-platform cryptog...
by
Thaddy
[June 24, 2025, 10:55:38 am]
IBX 2.7.2, What's wrong w...
by
rvk
[June 24, 2025, 10:38:10 am]
Trouble compiling fpc for...
by
ccrause
[June 24, 2025, 07:32:32 am]
Variable number of button...
by
Fibonacci
[June 24, 2025, 05:29:12 am]
LAMW complaining about "A...
by
nobody.00
[June 24, 2025, 04:14:57 am]
OpenDialog is too big and...
by
user5
[June 24, 2025, 12:54:27 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: jImageButton OnClick event doesn't work (Read 1048 times)
dseligo
Hero Member
Posts: 1523
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: 2329
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