Display images in ListIconGadget - possible ?

Mac OSX specific forum
flashbob
User
User
Posts: 92
Joined: Sat May 11, 2024 4:04 pm

Display images in ListIconGadget - possible ?

Post by flashbob »

I would like to display different images in the first three columns (16x16px each) of ListIconGadget.
Is this possible using cocoa ? Any ideas ?

Thx in advance!
User avatar
mk-soft
Always Here
Always Here
Posts: 6207
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Display images in ListIconGadget - possible ?

Post by mk-soft »

No,
PureBasic use an own object function and can not replaced with cocoa. Sorry

Have you ever thought about building your own control with the CanvasGadget?
Link Examples:
viewtopic.php?t=82505
viewtopic.php?t=74267
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
flashbob
User
User
Posts: 92
Joined: Sat May 11, 2024 4:04 pm

Re: Display images in ListIconGadget - possible ?

Post by flashbob »

Thx for the tip, but ... no, building my own control is out of question. Then I would prefer to use an
external (grid) control or I change the programming language ;-)

I think/hope there is a way to change the contents of the cell. Using CocoaMessageI I can change the formatting,
color and even display an icon for sort order of a column. So why shouldn't it be possible to set an image
instead of text ?

Using Windows API it's also possible ... I'll at least do a little more research ;-)
User avatar
Piero
Addict
Addict
Posts: 865
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: Display images in ListIconGadget - possible ?

Post by Piero »

mk-soft wrote: Mon Nov 25, 2024 9:36 pm No,
PureBasic use an own object function and can not replaced with cocoa. Sorry

Have you ever thought about building your own control with the CanvasGadget?
Link Examples:
viewtopic.php?t=82505
viewtopic.php?t=74267
That's one of the motives I'm mk-soft Fan
Post Reply