Page 1 of 1

Display images in ListIconGadget - possible ?

Posted: Mon Nov 25, 2024 7:32 pm
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!

Re: Display images in ListIconGadget - possible ?

Posted: Mon Nov 25, 2024 9:36 pm
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

Re: Display images in ListIconGadget - possible ?

Posted: Tue Nov 26, 2024 1:46 pm
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 ;-)

Re: Display images in ListIconGadget - possible ?

Posted: Tue Dec 03, 2024 1:32 pm
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