Really missing ListItemGadget header click event

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

Really missing ListItemGadget header click event

Post by Kukulkan »

Did not test the most recent Beta version but I assume this is still valid? If not, please forgive me :-)

I'm really missing a cross-platform standard event for header clicks on a ListItemGadget. This would allow me to sort and refresh the content. All those API workarounds are not really satisfying.
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Really missing ListItemGadget header click event

Post by Shardik »

Kukulkan wrote:All those API workarounds are not really satisfying.
What doesn't satisfy you in my cross-platform header click detection code for ListIconGadgets? I even tested it successfully with 17 different operating systems... :wink:

Of course it would be nice, if this feature could be implemented natively in PureBasic... 8)
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Really missing ListItemGadget header click event

Post by Fangbeast »

Shardik wrote:
Kukulkan wrote:All those API workarounds are not really satisfying.
What doesn't satisfy you in my cross-platform header click detection code for ListIconGadgets? I even tested it successfully with 17 different operating systems... :wink:

Of course it would be nice, if this feature could be implemented natively in PureBasic... 8)

Gawd that's embarrasing. I did that ListIconGadget example text when I was helping out with the docs so many years ago..
"Harry Rannit" + #LF$ +
"12 Parliament Way, Battle Street, By the Bay")
AddGadgetItem(0, -1, "Ginger Brokeit"+ #LF$ +
"130 PureBasic Road, BigTown, CodeCity")
AddGadgetItem(0, -1, "Didi Foundit"+ #LF$ +
Harry Rannit and Ginger Brokeit?? What was I thinking??? Must have been on the Milo back then:):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Really missing ListItemGadget header click event

Post by Little John »

+1
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Really missing ListItemGadget header click event

Post by RSBasic »

+1
Image
Image
Post Reply