Add gadget in ListIconGadget?

Just starting out? Need help? Post your questions and find answers here.
User avatar
doctorized
Addict
Addict
Posts: 854
Joined: Fri Mar 27, 2009 9:41 am
Location: Athens, Greece

Add gadget in ListIconGadget?

Post by doctorized »

There are desktop apps that have lists like this one here. Is there a way to achieve it in PB? I want to add a button gadget or a button image gadget and the edit | del links are perfect for me. Any way to do them?
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Add gadget in ListIconGadget?

Post by Bisonte »

Create a ContainerGadget with all your needed gadgets, or a Canvas with Container Flag.
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
wombats
Enthusiast
Enthusiast
Posts: 663
Joined: Thu Dec 29, 2011 5:03 pm

Re: Add gadget in ListIconGadget?

Post by wombats »

Thorsten1867's ListEx Gadget might do what you want.
User avatar
doctorized
Addict
Addict
Posts: 854
Joined: Fri Mar 27, 2009 9:41 am
Location: Athens, Greece

Re: Add gadget in ListIconGadget?

Post by doctorized »

Bisonte wrote:Create a ContainerGadget with all your needed gadgets, or a Canvas with Container Flag.
Obviously, you didn't see the picture to find out what I want. See this image then: Image
As you see in Form1, the list has buttons and progressbars among others. This is what I need with links like in the image in my initial post.
wombats wrote:Thorsten1867's ListEx Gadget might do what you want.
Yes, this is the kind of code I am looking for but this code requires PB 5.7x. I currently use 5.62 and I can't go to 5.7x right now. Anything for 5.62?
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Add gadget in ListIconGadget?

Post by Bisonte »

I saw your picture, but I thought you want these buttons on top of the listicon :oops: my fault

Code: Select all

I currently use 5.62 and I can't go to 5.7x right now
Why not ? An update don't break the code.... maybe some minimal adjustments...
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
Mijikai
Addict
Addict
Posts: 1360
Joined: Sun Sep 11, 2016 2:17 pm

Re: Add gadget in ListIconGadget?

Post by Mijikai »

Bisonte wrote:I saw your picture, but I thought you want these buttons on top of the listicon :oops: my fault

Code: Select all

I currently use 5.62 and I can't go to 5.7x right now
Why not ? An update don't break the code.... maybe some minimal adjustments...
Im also on 5.62 so i can safely use strings - all current versions
have a nasty memory bug that has not been fixed.
User avatar
doctorized
Addict
Addict
Posts: 854
Joined: Fri Mar 27, 2009 9:41 am
Location: Athens, Greece

Re: Add gadget in ListIconGadget?

Post by doctorized »

Mijikai wrote:Im also on 5.62 so i can safely use strings - all current versions
have a nasty memory bug that has not been fixed.
+1
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Add gadget in ListIconGadget?

Post by BarryG »

Mijikai wrote:Im also on 5.62 so i can safely use strings - all current versions
have a nasty memory bug that has not been fixed.
What's this about? Was there a bug report posted in these forums?
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Add gadget in ListIconGadget?

Post by BarryG »

BarryG wrote:What's this about? Was there a bug report posted in these forums?
Bump. It's been 3 months since I asked this and nobody has answered it. Is this a bug I need to be aware of?
Post Reply