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)Arrow keys in FV
by
HotShoe
[
Today
at 08:28:52 am]
Hustle - A simple task ma...
by
Wesbat
[
Today
at 08:24:07 am]
Interesting article about...
by
Thaddy
[
Today
at 07:53:27 am]
Game Music Emulator
by
Guva
[
Today
at 04:55:43 am]
Future Composer Player
by
Guva
[
Today
at 04:42:57 am]
Beta Version of Super Gau...
by
SandyG
[
Today
at 01:09:31 am]
Ancient Program
by
VisualLab
[
Today
at 12:42:54 am]
C operators and shift
by
VisualLab
[
Today
at 12:36:54 am]
IFS Fractals: Iterating t...
by
Boleeman
[
Today
at 12:05:47 am]
Common File Dialogs Have ...
by
rvk
[December 06, 2024, 11:14:52 pm]
Benchmarks
by
turrican
[December 06, 2024, 11:01:03 pm]
TLazSerial : serial port ...
by
tetrastes
[December 06, 2024, 10:33:38 pm]
TTrayIcon do not work pro...
by
atell
[December 06, 2024, 10:31:11 pm]
SAVE StringGrid to PDF
by
Fred vS
[December 06, 2024, 10:06:07 pm]
[SOLVED] Displaying Float...
by
1HuntnMan
[December 06, 2024, 09:57:19 pm]
[SOLVED] How to calculate...
by
d2010
[December 06, 2024, 09:47:16 pm]
[SOLVED] Getting processe...
by
d2010
[December 06, 2024, 09:32:56 pm]
How to know when dragging...
by
Aistis
[December 06, 2024, 08:56:21 pm]
Tmemo add char like typin...
by
ackarwow
[December 06, 2024, 08:41:20 pm]
[SOLVED] Set OnClick even...
by
cdbc
[December 06, 2024, 06:54:53 pm]
Directory-age?!?
by
MarkMLl
[December 06, 2024, 06:40:04 pm]
TStatusBar.Color OK in Ob...
by
phidel
[December 06, 2024, 05:51:41 pm]
NSHapticFeedbackPerformer
by
msintle
[December 06, 2024, 04:52:53 pm]
kernel 6.8 and checking s...
by
MarkMLl
[December 06, 2024, 04:35:50 pm]
fphttpapp and Windows Ser...
by
Gapes
[December 06, 2024, 03:49:58 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: jImageButton OnClick event doesn't work (Read 884 times)
dseligo
Hero Member
Posts: 1408
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: 2317
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