Search found 812 matches

by Lord
Sat Feb 28, 2026 12:21 pm
Forum: Bugs - Documentation
Topic: PB 6.40 alpha 3 - Purifier settings
Replies: 0
Views: 121

PB 6.40 alpha 3 - Purifier settings

Just a small glitch:
in the german settings for purifier the slider for "String-Variablen"
is labeled with "Aller x Zeilen".
It should read "Alle x Zeilen".
by Lord
Sat Feb 07, 2026 4:20 pm
Forum: Coding Questions
Topic: Retrieve text from ScintillaGadget
Replies: 2
Views: 525

Re: Retrieve text from ScintillaGadget

Hi spikey!

Thank you for looking into this.
You are right. Debug doesn't seem to be the right tool for this job. :D

EnableExplicit

#SciWindow = 2
#SciTextGadget = 3

Define *t
Define.i i, Pos, L, Range, Buffer, Event
Define Text$

Procedure SciPrint(Gadget, Text.s, Pos)
Protected *T, L.i
*T ...
by Lord
Sat Feb 07, 2026 3:35 pm
Forum: Coding Questions
Topic: Retrieve text from ScintillaGadget
Replies: 2
Views: 525

Retrieve text from ScintillaGadget

Hi!

I started to have a look at scintilla.
I manged to write colored text to the gadget.

But now I got trouble to get the text back from the gadget.
Why do I not get the whole written text back?
Output ends always at 19693.

Here my test code:
EnableExplicit

#SciWindow = 2
#SciTextGadget = 3 ...
by Lord
Tue Jan 20, 2026 10:36 am
Forum: Coding Questions
Topic: Detect RMB on statusbar
Replies: 6
Views: 3232

Re: Detect RMB on statusbar

Hi!

Thank you Axolotl and RASHAD for replying to my request.

Both examples give me the requested behaviour.
I think I will go with Axolotl's example as it gives me more variations of mousebutton events on statusbar which I can use in the future.

Greetings

Lord
by Lord
Mon Jan 19, 2026 5:19 pm
Forum: Coding Questions
Topic: Detect RMB on statusbar
Replies: 6
Views: 3232

Detect RMB on statusbar

Hi!

Short question: Is there an easier (or even better a correct) way to detect a RMB down or RMB up on a statusbar?
I came up with this:
EnableExplicit

Define sbh
Define Event

Procedure WinCallback(hWnd, uMsg, wParam, lParam)
Select uMsg
Case 528
AddGadgetItem(1, -1, "RMB")
If ...
by Lord
Mon Nov 17, 2025 1:19 pm
Forum: Windows
Topic: Make selected PanelGadget tab bold?
Replies: 10
Views: 5456

Re: Make selected PanelGadget tab bold?

Hi wombats!

Thank you editing the code.
Seems to work for me. I will incorporate this in my code.

Lord
by Lord
Sun Nov 16, 2025 11:15 am
Forum: Windows
Topic: Make selected PanelGadget tab bold?
Replies: 10
Views: 5456

Re: Make selected PanelGadget tab bold?

May I just jump in?

What if I want to have the text in tabs constantly colored?
Maybe first tab red, second blue and third green?
It should be when the PanelGadget with its tabs is created.
Is this possible?

Thanks in advance.
by Lord
Wed Aug 27, 2025 4:14 pm
Forum: Coding Questions
Topic: Window goes to maximum after monitor turned off and on again
Replies: 10
Views: 2303

Re: Window goes to maximum after monitor turned off and on again

Olli wrote: Wed Aug 27, 2025 12:16 pm ...
Could you test a softwared switch off ?
Yes, I did.
There was no problem. The window wasn't maximized.
I tried Rashads snipped above: no problem.
Also the 'normal' standby mode didn't any harm.
Only power off/on showed the problem.
by Lord
Wed Aug 27, 2025 8:27 am
Forum: Coding Questions
Topic: Window goes to maximum after monitor turned off and on again
Replies: 10
Views: 2303

Re: Window goes to maximum after monitor turned off and on again

Hi Jim!

Yes, Windows is behaving strangely. At first, it looked as if y=900 was a limit
beyond which the window would expand to its maximum size.
When I then reduced the window size again, the window was still enlarged.
I had to go back to <= 600 until I had a constant window size again.
I give up ...
by Lord
Tue Aug 26, 2025 9:00 am
Forum: Coding Questions
Topic: Window goes to maximum after monitor turned off and on again
Replies: 10
Views: 2303

Re: Window goes to maximum after monitor turned off and on again

Thank you to all of you for confirming my observation.
So its not only my system with this strange behaviour.
I will stay with WindowBounds(). It serves me as I do not need
any resizing and I do not have to intercept any events.

Another question is wether this is PB only related and maybe
a bug or ...
by Lord
Mon Aug 25, 2025 7:25 pm
Forum: Coding Questions
Topic: Window goes to maximum after monitor turned off and on again
Replies: 10
Views: 2303

Window goes to maximum after monitor turned off and on again

Hi!

Today I observed an unsual window behaviour:
OpenWindow(1, 10, 10, 1024, 920, "", #PB_Window_SystemMenu)
; WindowBounds(1, 1024, 920, 1024, 920)
Repeat
Event=WaitWindowEvent()
Until Event=#PB_Event_CloseWindow
Running this snippet and turning monitor off and on again lets
expand the window ...
by Lord
Mon Aug 18, 2025 8:45 am
Forum: Coding Questions
Topic: Problem with Filerequester
Replies: 17
Views: 2916

Re: Problem with Filerequester

$93 versus $22
by Lord
Wed Aug 13, 2025 11:30 am
Forum: General Discussion
Topic: Speed on PB is slow ?!
Replies: 14
Views: 3616

Re: Speed on PB is slow ?!

Interesting:

If I use For/Next, the execution time ist just 50% with Debugger on.
C-Backend is selected and Optimization is enabled.
31106 ms to 69440 ms
Without Debugger: both 0 ms

Win11 x64, PB6.20 x64, i5-13400F
by Lord
Wed Jul 30, 2025 4:21 pm
Forum: Coding Questions
Topic: Scrolling two (or more) ListViewGadgets synchron
Replies: 9
Views: 4741

Re: Scrolling two (or more) ListViewGadgets synchron

Hi Rashad!

Thank you for being so patient.

I seems, that your last posting includes what I was looking for.
It never came to my mind using LIG for that, because I didn't
know the existance of #LVS_NOCOLUMNHEADER.
Everything works, no "soft scroll", all lines reachable with
scroll bar and keys ...