Just out of curiosity...
Have you created your own text editor based on Canvas, or do you use Mr.L's?
Hint: Nice Implementation of PBEdit - a Canvas-based Texteditor
Search found 895 matches
- Wed Feb 18, 2026 10:57 am
- Forum: The PureBasic Editor
- Topic: DGbasic: A Retro-Style IDE built 100% in PureBasic
- Replies: 18
- Views: 848
- Tue Feb 17, 2026 11:23 am
- Forum: The PureBasic Editor
- Topic: DGbasic: A Retro-Style IDE built 100% in PureBasic
- Replies: 18
- Views: 848
Re: DGbasic: A Retro-Style IDE built 100% in PureBasic
Looks nice. Very well done.
Surely something for the showcase area.
Surely something for the showcase area.
- Sat Feb 14, 2026 2:48 pm
- Forum: Coding Questions
- Topic: PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found
- Replies: 4
- Views: 249
Re: PB6.30/?B6.40a4 - #PB_Editor_CreateExecutable constant not found
Yes, for me this constant and it's name (as well as the other two (#PB_Editor_BuildCount, #PB_Editor_CompileCount)) is somehow strange. I have already considered this issue here: #PB_Editor_CreateExecutable not recognized
- Sat Feb 14, 2026 1:31 pm
- Forum: Coding Questions
- Topic: Get the bigger used enumeration [Resolved]
- Replies: 17
- Views: 511
Re: Get the bigger used enumeration [Resolved]
@KCC
EnableExplicit ; <= my favorite command!! :lol: I hate it, never i use it :lol:
Sometime i regret....after one hour lost :mrgreen:
well, I completely understand that. And I accept it anyway. I know it's difficult to insert it retrospectively.
That's why it's one of my first commands, so ...
EnableExplicit ; <= my favorite command!! :lol: I hate it, never i use it :lol:
Sometime i regret....after one hour lost :mrgreen:
well, I completely understand that. And I accept it anyway. I know it's difficult to insert it retrospectively.
That's why it's one of my first commands, so ...
- Sat Feb 14, 2026 12:48 pm
- Forum: Coding Questions
- Topic: Order procedure called
- Replies: 3
- Views: 197
Re: Order procedure called
So you're looking for a function similar to what Debugger | Callstack does at runtime?
- Sat Feb 14, 2026 12:43 pm
- Forum: Coding Questions
- Topic: Get the bigger used enumeration [Resolved]
- Replies: 17
- Views: 511
Re: Get the bigger used enumeration [Resolved]
Regarding some of the statements, I would say:
It's a question of personal programming style.
However, I believe that, in addition to functionality, “clean” implementation is also a decisive quality criterion.
To be honest, though, I stopped imposing my coding style on others a long time ago ...
It's a question of personal programming style.
However, I believe that, in addition to functionality, “clean” implementation is also a decisive quality criterion.
To be honest, though, I stopped imposing my coding style on others a long time ago ...
- Sat Feb 14, 2026 12:15 pm
- Forum: Coding Questions
- Topic: [Windows, Solved] Changing StatusBar field width
- Replies: 5
- Views: 300
Re: [Windows] Changing StatusBar field width
I don't have a solution either, just a few thoughts.
I think this is an internal PB issue. The progress bar gadget is (probably) a child of the status bar.... (Classname = "msctls_progress32")
As I see it, the WinAPI only handles text in the status bar....
Maybe you have to send the new width also ...
I think this is an internal PB issue. The progress bar gadget is (probably) a child of the status bar.... (Classname = "msctls_progress32")
As I see it, the WinAPI only handles text in the status bar....
Maybe you have to send the new width also ...
- Fri Feb 13, 2026 1:07 am
- Forum: Coding Questions
- Topic: RunProgram top window
- Replies: 3
- Views: 200
Re: RunProgram top window
On windows this could work
1. Find window handle
2. Send message to the window with topmost style
Sorrry cannot provide code, because i am on mobile phone.
1. Find window handle
2. Send message to the window with topmost style
Sorrry cannot provide code, because i am on mobile phone.
- Fri Feb 06, 2026 12:59 pm
- Forum: Coding Questions
- Topic: ListIconGadget text layout
- Replies: 5
- Views: 365
Re: ListIconGadget text layout
The ListIconGadget has 4 different display modes that can be changed from PB (see in Help )
For more changes to the styles you need some api function calls. Search for something like LVS_ALIGNLEFT.
If you are working with Windows, you can achieve full control by drawing the content yourself.
There ...
For more changes to the styles you need some api function calls. Search for something like LVS_ALIGNLEFT.
If you are working with Windows, you can achieve full control by drawing the content yourself.
There ...
- Thu Feb 05, 2026 4:25 pm
- Forum: The PureBasic Editor
- Topic: Debug Output Text color
- Replies: 6
- Views: 399
Re: Debug Output Text color
@tatanas:
I'm not sure I fully understand what you want to do.
I can share some thoughts about the windows implementation.
If you want change the color of lines, words or sections and not the entire control you could use the richtext feature of the EditorGadget.
The problem here is, that this ...
I'm not sure I fully understand what you want to do.
I can share some thoughts about the windows implementation.
If you want change the color of lines, words or sections and not the entire control you could use the richtext feature of the EditorGadget.
The problem here is, that this ...
- Mon Feb 02, 2026 12:19 pm
- Forum: Feature Requests and Wishlists
- Topic: UserResidents
- Replies: 2
- Views: 304
Re: UserResidents
I guess it's to separate the user residents from the originals.
Advantage: you don't have to check for overwriting!?
BTW: I use this code to be on the safe side.....
#OriginalResFiles$ = "Expat.res Interface.res InterfaceDX.res OpenGL.res PureBasic.res Scintilla.res WebView2.res Windows.res ...
Advantage: you don't have to check for overwriting!?
BTW: I use this code to be on the safe side.....
#OriginalResFiles$ = "Expat.res Interface.res InterfaceDX.res OpenGL.res PureBasic.res Scintilla.res WebView2.res Windows.res ...
- Mon Feb 02, 2026 11:59 am
- Forum: Announcement
- Topic: PureBasic 6.40 alpha 4 is ready, surprise inside !
- Replies: 139
- Views: 14128
Re: PureBasic 6.40 alpha 3 is ready, surprise inside !
Sometimes I wish there was a (sensible) naming convention (Namespace, Module, etc.) for all constants, commands, and functions. That would make adding new libraries and system functions more future-proof.
Even if it's not very likely, the new names could lead to conflicts with existing code. (Just ...
Even if it's not very likely, the new names could lead to conflicts with existing code. (Just ...
- Sat Jan 31, 2026 5:18 pm
- Forum: Announcement
- Topic: PureBasic 6.40 alpha 4 is ready, surprise inside !
- Replies: 139
- Views: 14128
Re: PureBasic 6.40 alpha 3 is ready, surprise inside !
Shouldn't there be a limit on the length of function names? (Just kidding.)
Keep up the good work, and continue to surprise me.
Keep up the good work, and continue to surprise me.
- Sat Jan 31, 2026 4:23 pm
- Forum: Coding Questions
- Topic: Missed output from progrum run by RunProgram?
- Replies: 5
- Views: 396
Re: Missed output from progrum run by RunProgram?
I have the same situation/problem when calling the pb compiler with RunProgram().
And in this particular case, it is not because CRLF is being waited for during reading, because the same result is obtained with ReadProgramData().
See also: Command Prompt vs. RunProgram Output
My solution (which ...
And in this particular case, it is not because CRLF is being waited for during reading, because the same result is obtained with ReadProgramData().
See also: Command Prompt vs. RunProgram Output
My solution (which ...
- Fri Jan 30, 2026 5:12 pm
- Forum: Announcement
- Topic: PureBasic 6.30 is out !
- Replies: 187
- Views: 50927
Re: PureBasic 6.30 is out !
There was a brief statement from Fred that this subfolder could make sense.
But I think that for this to become a reality, it needs to be properly added to the wish list...
Code: Select all
../PureBasic/Residents/UserResidents But I think that for this to become a reality, it needs to be properly added to the wish list...