Search found 4 matches

by Karig1965
Sun Jun 21, 2020 8:55 pm
Forum: Feature Requests and Wishlists
Topic: GetGadgetItemImage()
Replies: 21
Views: 11171

Re: GetGadgetItemImage()

(I just tried to call GetGadgetItemImage() on a TreeGadget and got the message "[COMPILER] Line 113: GetGadgetItemImage() is not a function, array, list, map or macro." I'm using PureBasic 5.72 (64-bit) on Linux Mint 19.)
Did you try my TreeGadget example from above? I just tested it on Linux Mint ...
by Karig1965
Sun Jun 21, 2020 5:15 pm
Forum: Feature Requests and Wishlists
Topic: GetGadgetItemImage()
Replies: 21
Views: 11171

Re: GetGadgetItemImage()

This is an old thread, but I also want to ask Fred and company to add GetGadgetItemImage() to PureBasic, especially if any solution that Shardik or somebody else comes up with will be dependent on PureBasic internals.

(I just tried to call GetGadgetItemImage() on a TreeGadget and got the message ...
by Karig1965
Mon Jun 15, 2020 9:56 pm
Forum: Tricks 'n' Tips
Topic: Joining string lists into strings
Replies: 2
Views: 1413

Re: Joining string lists into strings

Yes, that looks like it works in the same way, only it expects the strings to be in an array. I thought it might be a little more convenient to use a list for joining strings. Unless I'm missing something (which is possible, since I'm a PB n00b...).
by Karig1965
Mon Jun 15, 2020 9:11 pm
Forum: Tricks 'n' Tips
Topic: Joining string lists into strings
Replies: 2
Views: 1413

Joining string lists into strings

This board has a few solutions for string-building already, but I thought I'd add my own variation.

I'm coming to PureBasic after spending several years using Python. One thing I miss from Python is the join() method for joining a list of strings using a delimiter in between each pair of strings ...