Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
[lamw]How do I change the jmenu icon using setitemicon?
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
IRC channel
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
Something wrong when i cl...
by
tetrastes
[
Today
at 03:30:00 pm]
TMEMO How to get line of ...
by
Josh
[
Today
at 03:20:22 pm]
Windows on ARM64
by
Luc
[
Today
at 02:48:22 pm]
How to make a T[Flow]Pane...
by
pleumann
[
Today
at 02:43:49 pm]
Error in Sway
by
Bad Sector
[
Today
at 02:41:49 pm]
High DPI questions
by
Luc
[
Today
at 02:17:04 pm]
How to send line breaks t...
by
cdbc
[
Today
at 02:07:20 pm]
Changes in "Search Result...
by
Martin_fr
[
Today
at 01:44:47 pm]
How to download a file fr...
by
maurobio
[
Today
at 01:26:32 pm]
[RESOLVED] bug in FpWait?
by
robert rozee
[
Today
at 01:22:35 pm]
Cannot connect to MariaDB...
by
marsupilami79
[
Today
at 12:51:24 pm]
Online Package Manager
by
GetMem
[
Today
at 10:34:41 am]
fphttpclient. set path op...
by
Warfley
[
Today
at 10:16:02 am]
Fill dual brush color in ...
by
wp
[
Today
at 09:16:35 am]
Feature announcement: Fun...
by
Peter H
[
Today
at 09:09:31 am]
Cration of TShape causes ...
by
bruce.button
[
Today
at 08:13:52 am]
Force Picklist in TString...
by
bruce.button
[
Today
at 07:43:21 am]
IInterface issues, compil...
by
jamie
[
Today
at 01:26:31 am]
Problm with desiger recog...
by
cdbc
[June 05, 2023, 11:54:42 pm]
Order of execution of ini...
by
jwdietrich
[June 05, 2023, 10:53:48 pm]
(Solved) Hex2Dec, strange...
by
PascalDragon
[June 05, 2023, 09:43:52 pm]
Does FPC uses any interme...
by
PascalDragon
[June 05, 2023, 09:21:00 pm]
DBGrid icon
by
dsiders
[June 05, 2023, 09:04:53 pm]
Getting Started
by
delphius
[June 05, 2023, 08:58:08 pm]
Highlighting row in TSTri...
by
bruce.button
[June 05, 2023, 08:18:25 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [lamw]How do I change the jmenu icon using setitemicon? (Read 406 times)
lazpas
Jr. Member
Posts: 70
[lamw]How do I change the jmenu icon using setitemicon?
«
on:
November 04, 2022, 02:07:34 am »
Hello,
How do I change the jmenu icon using setitemicon? Where are the examples? I want to change to another icon after clicking on the menu item ...
Thanks.
Logged
lazpas
Jr. Member
Posts: 70
Re: [lamw]How do I change the jmenu icon using setitemicon?
«
Reply #1 on:
December 05, 2022, 05:51:48 am »
Solved.
Code: Pascal
[Select]
[+]
[-]
jmenu1
.
setitemicon
(
jobjmenuitem
,
self
.
getdrawableresourceid
(
'file'
)
)
;
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
[lamw]How do I change the jmenu icon using setitemicon?
TinyPortal
© 2005-2018