Search found 640 matches

by Rinzwind
Sat Jan 24, 2026 1:38 pm
Forum: Announcement
Topic: PureBasic 6.40 alpha 1 is ready, surprise inside !
Replies: 46
Views: 2474

Re: PureBasic 6.40 alpha 1 is ready, surprise inside !


Sounds great and welcome improvement. Now is a good time to combine it with """multiline
string
literals"""
f"combined with $StringInterpolation/formatting" (or at least a buildin procedure eq enhanced printf)

Because XML/HTML/JSON/POSTGET/SQLITE/ text blocks are quite common and concatenating ...
by Rinzwind
Sat Jan 03, 2026 5:03 am
Forum: Announcement
Topic: My blog backend is written in Pure and Spiderbasic
Replies: 9
Views: 1069

Re: My blog backend is written in Pure and Spiderbasic

Reality check

No. Don't even. Use a real blog backend, there are so many of them!
Any context? Not production ready? Security holes? Battle tested?

Where is your blog located? Anyway, good job!
by Rinzwind
Mon Dec 29, 2025 4:12 pm
Forum: Coding Questions
Topic: Read STRING GADGET text after ENTER key is pushed ...
Replies: 15
Views: 4503

Re: Read STRING GADGET text after ENTER key is pushed ...

mk-soft wrote: Mon Dec 29, 2025 7:33 am The value is correct.
It is strange that the constant is still present in the Purebasic SDK (Event.h).
Yes the value is correct. Meant is is not predefined anymore. Why is another question.
by Rinzwind
Mon Dec 29, 2025 6:56 am
Forum: Coding Questions
Topic: Read STRING GADGET text after ENTER key is pushed ...
Replies: 15
Views: 4503

Re: Read STRING GADGET text after ENTER key is pushed ...

Because code generator came up with it...

#PB_EventType_ReturnKey is not a valid constant anymore. Could not find its removal in version history though and why it was removed...

See https://www.purebasic.fr/english/viewtopic.php?t=75010 :

;-TOP

; ----

CompilerIf #PB_Compiler_Version >= 572 ...
by Rinzwind
Sat Dec 27, 2025 9:41 am
Forum: Coding Questions
Topic: Dead keys with keyboard hook - how?
Replies: 11
Views: 723

Re: Dead keys with keyboard hook - how?

FYI: won't catch all keys... ie anywhere in MS word or in start menu. The application itself prevents passing messages on?
by Rinzwind
Mon Dec 15, 2025 8:36 am
Forum: Feature Requests and Wishlists
Topic: multiline strings?
Replies: 0
Views: 452

multiline strings?

Finally please? With JSON, HTML, etc handling and the WebViewGadget it is a major concatenation hassle (and inefficient if the compiler doesn't treat it well).

Define test.s = """
line 1
line 2
line 3
"""

or

Define test.s ="
line 1
line 2
line 3
"

or only supported for escaped versions

Define ...
by Rinzwind
Wed Nov 05, 2025 9:35 am
Forum: Coding Questions
Topic: Sort a ListViewGadget -- How to?
Replies: 7
Views: 886

Re: Sort a ListViewGadget -- How to?

"LB_ADDSTRING message
Adds a string to a list box. If the list box does not have the LBS_SORT style, the string is added to the end of the list. Otherwise, the string is inserted into the list and the list is sorted."

ps Not the most elegant way to continually sort it every time an item is added ...
by Rinzwind
Thu Oct 23, 2025 2:36 pm
Forum: Feature Requests and Wishlists
Topic: Add RegAdd(), RegUpdate(), RegDelete() functions
Replies: 6
Views: 1480

Re: Add RegAdd(), RegUpdate(), RegDelete() functions

Search before posting
viewtopic.php?t=75805
But this feature request forum serves merely a therapeutic function it seems

:P
by Rinzwind
Thu Oct 16, 2025 12:22 pm
Forum: Announcement
Topic: PureBasic 6.30 is out !
Replies: 183
Views: 43704

Re: PureBasic 6.30 beta 3 is ready !

Any chance of per monitor dpi support?
by Rinzwind
Fri Oct 10, 2025 4:24 pm
Forum: Windows
Topic: WebViewGadget question
Replies: 2
Views: 1619

Re: WebViewGadget question

So what MS says to do as best practice is not implemented? Yes I did see that code to mess directly with the interfaces but it doesn't make things Basic exactly. Error prone too. Out of the box the PB gadget provides the bare basics at the moment. Basically ;)

Just need to know if I have to ...
by Rinzwind
Fri Oct 10, 2025 3:39 pm
Forum: Windows
Topic: WebViewGadget question
Replies: 2
Views: 1619

WebViewGadget question

Per MS documentation:
"For performance reasons, developers should set the IsVisible property of the WebView to FALSE when the app window is minimized and back to TRUE when the app window is restored. The app window does this by handling SIZE_MINIMIZED and SIZE_RESTORED command upon receiving WM_SIZE ...
by Rinzwind
Wed Oct 08, 2025 9:51 am
Forum: Off Topic
Topic: C++ 26 will be a game changer !
Replies: 17
Views: 4370

Re: C++ 26 will be a game changer !

C++ is the ugliest and most bloated programming language ever. All programming paradigm are dumped into it in an ugly way. I don't know why you want to use C++ as example of OOP. There are way better examples. v26 does not add anything that changes the fact that it's specification takes 1800+ pages ...
by Rinzwind
Wed Sep 24, 2025 1:43 pm
Forum: 3D Programming
Topic: Should I build my own sprite-based UI system or wait?
Replies: 19
Views: 3840

Re: Should I build my own sprite-based UI system or wait?

A UI without keyboard input? Hmm

Do I understand it correctly that we get some fresh UI goodies soon packaged in PureBasic?
by Rinzwind
Wed Sep 17, 2025 4:51 pm
Forum: Bugs - IDE
Topic: Program parameters Console app
Replies: 7
Views: 1759

Re: Program parameters Console app


Fo example, if you have several main.pb in the IDE you will end up with the same exe name and it will not work, so the name is dynamic

But this main.pb's exist in different folders. I for one, always choose build exe in source folder. Anyway, an override option would be nice. As is more support ...
by Rinzwind
Wed Sep 17, 2025 3:12 pm
Forum: Bugs - IDE
Topic: Program parameters Console app
Replies: 7
Views: 1759

Re: Program parameters Console app


I see, so it's an IDE issue


Think so too.

About the debug executable name.. would be nice if it would just remember whatever filename (not path) was entered when choosing Create executable OR has a filename field option in Compiler settings. When end-user does Create executable he/she knows to ...