Search found 10 matches

by bds107
Wed Aug 20, 2025 1:07 pm
Forum: The PureBasic Editor
Topic: Toolbar icon size
Replies: 2
Views: 289

Re: Toolbar icon size

Good point. I have a 34" screen and use PureBasic on 50% of the screen.
Then the icons are indeed a bit small.
by bds107
Fri Aug 08, 2025 3:21 pm
Forum: General Discussion
Topic: [Resolved] RunProgram with CHDIR
Replies: 2
Views: 346

Re: RunProgram with CHDIR

Hey,

I'm glad you mentioned the batch file method.
I asked ChatGPT (or was it Copilot or GROK) if it was possible to change the CurrentDirectory with a Windows API. For security reasons, this isn't possible.
It is indeed changed, even with RunProgram or SetCurrentdir(), or an API, but once CMD ...
by bds107
Fri Aug 08, 2025 10:59 am
Forum: General Discussion
Topic: [Resolved] RunProgram with CHDIR
Replies: 2
Views: 346

[Resolved] RunProgram with CHDIR

Hello everyone,

I'd like to exit my Windows console program with a CHDIR /D <path> .
RunProgram("cmd.exe", "/K CHDIR /D " + DirLoc, "")
doesn't seem to work. In fact, CMD.EXE runs on top of the existing CMD.EXE.
So, if you execute an EXIT, you'll be taken to the previous CMD and its location ...
by bds107
Sat Jul 26, 2025 7:46 pm
Forum: The PureBasic Editor
Topic: The debugged executable did not respond
Replies: 5
Views: 755

Re: The debugged executable did not respond

SPH wrote: Sat Jul 26, 2025 7:26 pm Maybe an antivirus... :idea:
It's possible.
I've excluded the PowerBASIC folder and projects from testing in Windows Defender.
I'll keep trying and see what happens.
by bds107
Thu Jul 24, 2025 9:56 pm
Forum: The PureBasic Editor
Topic: The debugged executable did not respond
Replies: 5
Views: 755

The debugged executable did not respond

Hi everyone,
Strange. When I try to start a program from the IDE using F5, I sometimes get this error. After about three retry attempts, it works.
The error says: The debugged executable did not respond to communication for 10 seconds. Disconnecting . And an [OK] button.
Does anyone have any ideas ...
by bds107
Thu Jul 24, 2025 9:50 pm
Forum: Feature Requests and Wishlists
Topic: The IIF function
Replies: 7
Views: 1062

The IIF function

Hi everyone!
Back when animals still spoke, there was something called IIF. Unfortunately, it wasn't built into PureBASIC, or I'd have to cross my eyes.

GLOBAL result.s, userInput.a
result.s = IIF(userInput MOD 2 = 0, "Even", "Odd")
DEBUG "The number is " + result


Hopefully...
by bds107
Thu Jul 24, 2025 9:41 pm
Forum: The PureBasic Editor
Topic: IDE Markers (Feature request)
Replies: 3
Views: 1149

Re: IDE Markers (Feature request)

Hello everyone,
The Bookmarks in QB64 were incredibly simple, fun, and enjoyable to use.
Add/Remove a bookmark: ALT + Left key .
Next Bookmark: ALT + Down key .
Previous Bookmark: ALT + Up key .
Here too, you saw a bookmark icon on the left.
Very fast and fun to use this way. So it would be great if ...
by bds107
Thu Jul 24, 2025 9:28 pm
Forum: Coding Questions
Topic: The weak spot of EnableGraphicalConsole()
Replies: 2
Views: 859

Re: The weak spot of EnableGraphicalConsole()

I was just going to raise a problem about EnableGraphicalConsole(1) , but I ended up here after searching this forum.

When I create an OpenConsole() program, I can use 256 ANSI colors.
I can also use ANSI control characters like background, underline, etc.
But when I enable EnableGraphicalConsole(1 ...
by bds107
Tue Aug 01, 2023 7:05 pm
Forum: Feature Requests and Wishlists
Topic: About the ListIconGadget
Replies: 4
Views: 838

Re: About the ListIconGadget


Yes, search these forums. Here's an alignment solution (diskay's post) -> https://www.purebasic.fr/english/viewtopic.php?p=549974#p549974


Oh, it works for me. Thxalot BarryG.
Now it would be nice if I could get a full row in a different color (foreground/backcolor). So not individual cells. I ...
by bds107
Tue Aug 01, 2023 10:36 am
Forum: Feature Requests and Wishlists
Topic: About the ListIconGadget
Replies: 4
Views: 838

About the ListIconGadget

About the ListIconGadget: it would be nice if you could indicate in the AddGadgetColumn that you want to right-align or center it.
Or in AddGadgetItem after the chr(10) example give a chr(9) so that the text aligns to the right.
At SetGadgetColor you can specify the color for the entire List. Not ...