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
[solved with GENIUS demo]...
by
Nicole
[
Today
at 01:53:07 pm]
Randomally generated code
by
BSaidus
[
Today
at 01:51:57 pm]
'Events' Quiry
by
J-G
[
Today
at 01:38:22 pm]
Why there is no build-in ...
by
Artyom
[
Today
at 01:35:22 pm]
Lazarus Install Question
by
Martin_fr
[
Today
at 12:57:13 pm]
Ctrl-V doesn't work anymo...
by
TRon
[
Today
at 12:30:26 pm]
TListView - please advis...
by
Nicole
[
Today
at 12:10:52 pm]
TStringGrid: what is the ...
by
Handoko
[
Today
at 12:08:57 pm]
UUIDv7 library and demo
by
Thaddy
[
Today
at 11:38:15 am]
macOS 15.4 Breaks All Com...
by
Hansaplast
[
Today
at 11:35:27 am]
ShowModal has a bug in Li...
by
TRon
[
Today
at 11:34:11 am]
Reducing the saturation o...
by
MarkMLl
[
Today
at 11:11:47 am]
Why isn't Lazarus / Free ...
by
marcov
[
Today
at 09:09:58 am]
Text Property is conflict...
by
jamie
[April 27, 2025, 09:21:33 pm]
EOF Problem
by
J-G
[April 27, 2025, 09:20:05 pm]
upvote a reply
by
440bx
[April 27, 2025, 07:56:59 pm]
Testing with SQLite3DataS...
by
paweld
[April 27, 2025, 07:12:58 pm]
Fixing or working around ...
by
Nel_Fie
[April 27, 2025, 06:10:49 pm]
Fpcupdeluxe
by
DonAlfredo
[April 27, 2025, 04:34:58 pm]
[solved] macro for code ?
by
Tomas Hajny
[April 27, 2025, 04:24:09 pm]
TAudio- play, edit, conve...
by
minesadorada
[April 27, 2025, 03:33:45 pm]
Fpcupdeluxe and trunk
by
LemonParty
[April 27, 2025, 02:17:28 pm]
[SOLVED] Problems accessi...
by
Ever
[April 27, 2025, 01:41:45 pm]
String Grid move to cell
by
bowlofpetunias
[April 27, 2025, 01:05:41 pm]
Macos Sequoia Lazarus 3.8...
by
Nimbus
[April 27, 2025, 12:41:34 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: jImageButton OnClick event doesn't work (Read 1023 times)
dseligo
Hero Member
Posts: 1503
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: 2327
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