Search found 3891 matches

by BarryG
Fri Sep 26, 2025 2:39 am
Forum: The PureBasic Editor
Topic: The Find/Replace window should stay open after doing a search
Replies: 3
Views: 328

Re: The Find/Replace window should stay open after doing a search

skywalk wrote: Thu Sep 25, 2025 5:56 pmI prefer the current behavior
Same. I don't want it to stay open after a search. Gets in the way. F3 does multiple searching anyway, so we don't need it to stay open.
by BarryG
Wed Sep 24, 2025 6:54 am
Forum: Coding Questions
Topic: SendInput problem with win gadget [SOLVED]
Replies: 4
Views: 255

Re: SendInput problem with win gadget

It works fine without MessageRequester(). Do a paste into a paint program after running it, and you'll see. :)
by BarryG
Sun Sep 21, 2025 2:08 am
Forum: Coding Questions
Topic: Show File in Explorer?
Replies: 3
Views: 348

Re: Show File in Explorer?

Happy to help. :)
by BarryG
Sat Sep 20, 2025 4:38 am
Forum: Coding Questions
Topic: EditorGadget auto scroll to last line ...
Replies: 17
Views: 860

Re: EditorGadget auto scroll to last line ...

@Randy, you don't need to calculate the bottom. Just use -1 for wParam and lParam, which means to select the end:

If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
For a = 0 To 100
AddGadgetItem(0, a, "Line "+Str ...
by BarryG
Sat Sep 20, 2025 4:21 am
Forum: Coding Questions
Topic: Show File in Explorer?
Replies: 3
Views: 348

Re: Show File in Explorer?

Code: Select all

file$="c:\windows\regedit.exe"
ShellExecute_(0,"open","explorer","/select,"+file$,GetPathPart(file$),#SW_SHOW)
by BarryG
Sat Sep 20, 2025 2:42 am
Forum: Coding Questions
Topic: Compile w/o Run?
Replies: 5
Views: 344

Re: Compile w/o Run?

Oh, I see what you mean. We have "Compile/Run" (or F5) that includes the debugger, but then "Compile with debugger" also does that. Never noticed before.
by BarryG
Sat Sep 20, 2025 1:52 am
Forum: Windows
Topic: Menu icons cropped with 6.21 but not 6.10
Replies: 2
Views: 1545

Re: Menu icons cropped with 6.21 but not 6.10

But it worked on 6.10 so I don't understand. Something got changed when the menus were updated in a PureBasic update, and I can't have my app show cropped icons to my users just because of a switch. Looks like 6.10 is my final PureBasic version, then. :(
by BarryG
Sat Sep 20, 2025 1:47 am
Forum: Coding Questions
Topic: Compile w/o Run?
Replies: 5
Views: 344

Re: Compile w/o Run?

Piero wrote: Sat Sep 20, 2025 12:14 amIs "Compile with/without Debugger" supposed to also Run
Yes. It's always done that for me. Yours doesn't?
by BarryG
Thu Sep 18, 2025 11:37 pm
Forum: Off Topic
Topic: Ethical Question
Replies: 9
Views: 697

Re: Ethical Question

Piero wrote: Tue Sep 16, 2025 1:20 pmI "cracked" it making it fully functional in like 20 minutes
Nothing ethically wrong with modifying what you paid for. Just don't share it, or tell others how to crack it. It's your own journey.
by BarryG
Thu Sep 18, 2025 9:03 am
Forum: General Discussion
Topic: Bot or not? (was: Re: Right-click on a ComboBoxGadget)
Replies: 4
Views: 229

Bot or not? (was: Re: Right-click on a ComboBoxGadget)

I know, Kiffi, but in this case I wasn't 100% sure it was a bot (hence my question mark). Do you want us to flag such posts anyway?
by BarryG
Thu Sep 18, 2025 7:32 am
Forum: General Discussion
Topic: Bot or not? (was: Re: Right-click on a ComboBoxGadget)
Replies: 4
Views: 229

Bot or not? (was: Re: Right-click on a ComboBoxGadget)

eechingtar wrote: Thu Sep 18, 2025 3:42 amCurious if anyone’s found a clean workaround for detecting clicks directly on the items themselves.
This has already been shown above. Bot account?
by BarryG
Thu Sep 18, 2025 2:34 am
Forum: Coding Questions
Topic: Right-click on a ComboBoxGadget
Replies: 13
Views: 865

Re: Right-click on a ComboBoxGadget

My code does let you right-click on an item from the drop-down list? It even shows which item number was right-clicked.
by BarryG
Thu Sep 18, 2025 1:12 am
Forum: Coding Questions
Topic: Rules for sending a mail with purebasic and gmail.com
Replies: 3
Views: 381

Re: Rules for sending a mail with purebasic and gmail.com

The rules for sending emails on Gmail from an external mailer have changed.

Hmm, my app still sends mail from my Gmail account without issue. You have to use an app password, though (you can't use your normal Gmail password). Also, SSL/TLS must be 1, with port 587. Use smtp.gmail.com for the ...
by BarryG
Wed Sep 17, 2025 8:31 am
Forum: Coding Questions
Topic: Right-click on a ComboBoxGadget
Replies: 13
Views: 865

Re: Right-click on a ComboBoxGadget

How is that a limitation? The request is for when the gadget is right-clicked, so if the gadget is not in focus, then no big deal?
by BarryG
Tue Sep 16, 2025 3:05 am
Forum: Coding Questions
Topic: Right-click on a ComboBoxGadget
Replies: 13
Views: 865

Re: Right-click on a ComboBoxGadget

If OpenWindow(0, 0, 0, 270, 80, "ComboBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

ComboBoxGadget(0, 10, 10, 250, 21)
For a = 1 To 5
AddGadgetItem(0, -1,"ComboBox item " + Str(a))
Next

Repeat

ev=WaitWindowEvent()

If ev=#WM_RBUTTONDOWN
Debug "Right-clicked on "+Str ...