Search found 1018 matches

by blueb
Tue Mar 26, 2024 1:55 pm
Forum: Coding Questions
Topic: ListIcons: color of selected row, can be set?
Replies: 4
Views: 187

Re: ListIcons: color of selected row, can be set?

Maybe Infratec's sample will help... :) ;================================================================== ; ; Author: Infratec ; Date: September 22, 2017 ; ; Question: ; The code below shows the centre item is slightly coloured. ; Is there any way to get it to be the same as when selected by the m...
by blueb
Tue Mar 26, 2024 1:47 pm
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 239

Re: IMA error with ExamineIPAddresses(#PB_Network_IPv4)

That's odd.. shouldn't it work with your VPN running? :?:
by blueb
Tue Mar 26, 2024 1:34 pm
Forum: Coding Questions
Topic: IMA error with ExamineIPAddresses(#PB_Network_IPv4)
Replies: 9
Views: 239

Re: IMA error with ExamineIPAddresses(#PB_Network_IPv4)

Just tried it using my VPN at 3 different locations... 10.17.18.78 Peru 10.10.18.236 Ecuador 10.14.18.206 Uruguay everything seems fine. Procedure.s _rpc_get_server_ip() Define.i IP Define.s ip$ = "" If ExamineIPAddresses(#PB_Network_IPv4) Repeat IP = NextIPAddress() ; *** Invalid Memory A...
by blueb
Thu Mar 21, 2024 12:39 pm
Forum: Tricks 'n' Tips
Topic: Color Button using API [Windows]
Replies: 4
Views: 441

Re: Color Button using API [Windows]

Hmmm, am I the only one with a problem. I can't seem to get the font to change. Procedure colorBUTTON(gad,w,h,font.s,fsize,text.s,tcolor) LoadFont(0,font,fsize) CreateImage(gad,w-6,h-8,32,#PB_Image_Transparent) StartVectorDrawing(ImageVectorOutput(gad)) MovePathCursor(10,10) AddPathCircle(10,10,5) V...
by blueb
Wed Mar 13, 2024 11:04 pm
Forum: Coding Questions
Topic: File picker gadgets in native PureBasic?
Replies: 17
Views: 556

Re: File picker gadgets in native PureBasic?

Hmm.. works fine here.
by blueb
Thu Feb 22, 2024 8:25 pm
Forum: Coding Questions
Topic: Item Height in a ComboBoxGadget
Replies: 3
Views: 136

Re: Item Height in a ComboBoxGadget

Thanks Shardik and Rashad.

I thought I'd have to dip into the Windows API... but they work great.

I've added both to my arsenal... funny the topic hasn't come up more often, especially with higher resolution screens (I have a 4k monitor).

Thanks again, very useful stuff.
by blueb
Thu Feb 22, 2024 2:32 pm
Forum: Coding Questions
Topic: Item Height in a ComboBoxGadget
Replies: 3
Views: 136

Item Height in a ComboBoxGadget

Quick question... concerning the list of items inside a ComboBoxGadget(). I can make the ComboBox height any size I need, but I couldn't find a way to alter the default height of the items inside the list. (it's for a touch tablet, and the default is way too small for fingers. haha). Any pointers? I...
by blueb
Tue Feb 06, 2024 1:02 pm
Forum: Coding Questions
Topic: PB 6.10 beta 5 #PB_Any return value type changed?
Replies: 17
Views: 1153

Re: PB 6.10 beta 5 #PB_Any return value type changed?

No, it never returned a long. It returned an integer which by luck was fitting into a long on x64. #PB_Any returns a real memory pointer, that's why it's always been integer (and not long). To have more info about the new linker memory default setting: https://learn.microsoft.com/en-us/cpp/build/re...
by blueb
Wed Jan 10, 2024 1:38 pm
Forum: General Discussion
Topic: Source too big for the free version
Replies: 31
Views: 2904

Re: Source too big for the free version

Micro$oft have a different pricing policy for Asian / third word countries , like india, vietnam, Thailand, Philippine, malaysia, , indonesia, sirilanka, japan,singapore and so on... the average monthly income for the people there maybe less than 100~200€ , a 79€ maybe difficult for them to save up...
by blueb
Mon Jan 01, 2024 3:43 pm
Forum: General Discussion
Topic: PureBasic is a Great Programming Language with Limited Resources
Replies: 18
Views: 2122

Re: PureBasic is a Great Programming Language with Limited Resources

Maya wrote: Sun Dec 31, 2023 9:18 pm
I'm just wondering why?
I really feel so sad, that such great tool has a very limited training resources!

Image
Here's another book for you (with some source code)

https://www.purebasic.fr/english/viewtopic.php?t=58232
by blueb
Mon Jan 01, 2024 2:51 pm
Forum: Off Topic
Topic: Happy New Year 2024 !
Replies: 23
Views: 2820

Re: Happy New Year 2024 !

Happy New Year to all PuerBasic members (and the TEAM)! :D
by blueb
Mon Dec 25, 2023 12:40 pm
Forum: Off Topic
Topic: Merry Xmas
Replies: 11
Views: 1734

Re: Merry Xmas

Merry Xmas to everyone. :D

I agree.. this community is the best.
by blueb
Sat Dec 23, 2023 1:26 pm
Forum: Coding Questions
Topic: [Deleted]
Replies: 21
Views: 2147

Re: [Solved] Convert $23 to literal string value?

Does this help?

Code: Select all

Debug "20"+ LTrim("$23","$") ; Want "2023"
Edit... drat! to slow. haha
by blueb
Sun Nov 12, 2023 1:48 pm
Forum: Announcement
Topic: Blog post !
Replies: 325
Views: 92086

Re: Blog post !

Kiffi wrote: Sat Nov 11, 2023 2:56 pm
the first new library we are integrating for 6.10 is the WebView one
Image
That looks an aweful lot like Fred. haha :mrgreen: