Recent

Author Topic: [lamw]How do I change the jmenu icon using setitemicon?  (Read 535 times)

lazpas

  • Jr. Member
  • **
  • Posts: 74
[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.

lazpas

  • Jr. Member
  • **
  • Posts: 74
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][+][-]
  1. jmenu1.setitemicon(jobjmenuitem,self.getdrawableresourceid('file'));

 

TinyPortal © 2005-2018