Update v1.02.4
- Added Window InvalidateRect
- Remove addChildWindow. Its done internal PB
- Cleanup code and update constants
Is a quirk of Windows. With InvalidateRect it's a little better.
Search found 5316 matches
- Thu Nov 27, 2025 11:11 am
- Forum: Coding Questions
- Topic: Setting a Child Window into Parent
- Replies: 11
- Views: 417
- Wed Nov 26, 2025 6:28 pm
- Forum: Coding Questions
- Topic: [RESOLVED] Ai's Grok and ChatGPT cannot fix non-displaying Graph
- Replies: 7
- Views: 234
Re: Ai's Grok and ChatGPT cannot fix non-displaying Graph
Simple
Code: Select all
; Axes
VectorSourceColor(#Black | $FF000000)- Tue Nov 25, 2025 10:46 pm
- Forum: Coding Questions
- Topic: Setting a Child Window into Parent
- Replies: 11
- Views: 417
Re: Setting a Child Window into Parent
Even if you start the PureBasic QT IDE, a gtk3 version is compiled.
Why QT
Maybe for a system where there is no gtk. (What I don't believe
)
Why QT
Maybe for a system where there is no gtk. (What I don't believe
- Tue Nov 25, 2025 6:43 pm
- Forum: Mac OSX
- Topic: Process "ANY" text!
- Replies: 4
- Views: 126
Re: Process "ANY" text!
I don't know why you always call a shell for scripts.
You can use AppleScript directly from PB.
Link: AppleScript with ErrorInfo
You can use AppleScript directly from PB.
Link: AppleScript with ErrorInfo
- Tue Nov 25, 2025 10:45 am
- Forum: General Discussion
- Topic: PureBasic 6.2 Segmentation Fault on Linux Mint
- Replies: 3
- Views: 160
Re: PureBasic 6.2 Segmentation Fault on Linux Mint
I haven't seen this for a long time and it should have been fixed long ago.
For Mint Linux, the version for Ubuntu 20.04 should be the right one.
I use Mint Linux LMDE 6 (PB Ubuntu 20.04) and LMDE 7 (PB Ubuntu 24.04) and don't have this error.
For Mint Linux, the version for Ubuntu 20.04 should be the right one.
I use Mint Linux LMDE 6 (PB Ubuntu 20.04) and LMDE 7 (PB Ubuntu 24.04) and don't have this error.
- Mon Nov 24, 2025 5:47 pm
- Forum: Coding Questions
- Topic: Setting a Child Window into Parent
- Replies: 11
- Views: 417
Re: Setting a Child Window into Parent
For maOS addChildWindow ...
Even if you can drag the child window outside the parent window, the child windows are moved by the parent windows when dragging.
Update v1.01.3
Unfortunately, you cannot change the order of the child windows.
To bring the active child window to the foreground, you ...
Even if you can drag the child window outside the parent window, the child windows are moved by the parent windows when dragging.
Update v1.01.3
Unfortunately, you cannot change the order of the child windows.
To bring the active child window to the foreground, you ...
- Mon Nov 24, 2025 4:51 pm
- Forum: Windows
- Topic: IPAddressGadget Bug
- Replies: 5
- Views: 143
Re: IPAddressGadget Bug
Windows works perfect 
- Mon Nov 24, 2025 4:45 pm
- Forum: Windows
- Topic: IPAddressGadget Bug
- Replies: 5
- Views: 143
Re: IPAddressGadget Bug
It's probably been like this for a long time.
Even not PB v5.73 it does not work if the gadget is too narrow.
Even not PB v5.73 it does not work if the gadget is too narrow.
- Sun Nov 23, 2025 11:52 pm
- Forum: Tricks 'n' Tips
- Topic: Resize Gadget Image and Font Helper
- Replies: 3
- Views: 287
Re: Resize Gadget Image and Font Helper
Reminds me a little of my Module ScaleGadgets for all OS 
Font Example viewtopic.php?p=532767#p532767
Font Example viewtopic.php?p=532767#p532767
- Sun Nov 23, 2025 6:30 pm
- Forum: Game Programming
- Topic: My game lags on Steam.
- Replies: 23
- Views: 670
Re: My game lags on Steam.
Your event loop is wrong ...
If you use an OpenWindowedScreen, the event loop must look different.
See PB-Help
...
Repeat
; It's very important to process all the events remaining in the queue at each frame
;
Repeat
Event = WindowEvent()
Select Event
Case #PB_Event_Gadget
Case #PB ...
If you use an OpenWindowedScreen, the event loop must look different.
See PB-Help
...
Repeat
; It's very important to process all the events remaining in the queue at each frame
;
Repeat
Event = WindowEvent()
Select Event
Case #PB_Event_Gadget
Case #PB ...
- Sun Nov 23, 2025 3:06 pm
- Forum: Bugs - IDE
- Topic: Form Editor Bug
- Replies: 3
- Views: 131
Re: Form Editor Bug
This may be due to the monitor scaling.
However, it also works on my VM Windows 11 with 125% scaling with PB v6.20 and higher.
Problems may arise when using multiple monitors with different scaling settings.
However, it also works on my VM Windows 11 with 125% scaling with PB v6.20 and higher.
Problems may arise when using multiple monitors with different scaling settings.
- Sun Nov 23, 2025 11:52 am
- Forum: Raspberry PI
- Topic: Tips & Tricks for Raspberry PI
- Replies: 17
- Views: 31783
Re: Tips & Tricks for Raspberry PI
Remote programming and starting apps without monitor, keyboard and mouse.
Remote Linux with ssh terminal and xserver
Raspberry:
Change from Wayland to X11
sudo raspi-config
- 6 Advance Option
- A7 Wayland
OS Linux:
ssh -Y [Username]@[Hostname]
export XAUTHORITY=$HOME/.Xauthority
OS MacOS ...
Remote Linux with ssh terminal and xserver
Raspberry:
Change from Wayland to X11
sudo raspi-config
- 6 Advance Option
- A7 Wayland
OS Linux:
ssh -Y [Username]@[Hostname]
export XAUTHORITY=$HOME/.Xauthority
OS MacOS ...
- Sat Nov 22, 2025 7:33 pm
- Forum: Coding Questions
- Topic: Solved: How to update an Image Gadget correctly
- Replies: 7
- Views: 218
Re: How to update an Image Gadget correctly
Works fine here with macOS, Windows, Linux
;-TOP
Procedure UpdateWindow()
Protected dx, dy
dx = WindowWidth(0)
dy = WindowHeight(0) - StatusBarHeight(0) - MenuHeight()
; Resize Gadgets
ResizeGadget(1, 10, dy - 35, 120, 25)
ResizeGadget(2, 140, dy - 35, 120, 25)
ResizeGadget(3, 270, dy ...
;-TOP
Procedure UpdateWindow()
Protected dx, dy
dx = WindowWidth(0)
dy = WindowHeight(0) - StatusBarHeight(0) - MenuHeight()
; Resize Gadgets
ResizeGadget(1, 10, dy - 35, 120, 25)
ResizeGadget(2, 140, dy - 35, 120, 25)
ResizeGadget(3, 270, dy ...
- Sat Nov 22, 2025 5:47 pm
- Forum: Coding Questions
- Topic: Solved: How to update an Image Gadget correctly
- Replies: 7
- Views: 218
Re: How to update an Image Gadget correctly
PB-Help (F1)
- SetGadgetState(): Change the current Image of the gadget. A valid ImageID can be easily obtained with the ImageID() function. If the ImageID is 0, then the image is removed from the gadget.
- Sat Nov 22, 2025 12:06 pm
- Forum: Raspberry PI
- Topic: Best small OS for Raspi and Purebasic?
- Replies: 1
- Views: 140
Re: Best small OS for Raspi and Purebasic?
It's best to use the original Raspberry OS. That's what works best (Debian 13 Arm64).
PB v6.30 will also be ready at some point, and the WebGadget will work again.
You don't need to connect a keyboard or monitor for programming.
You can also do it with ssh and X11. Much better than with VNC.
Here ...
PB v6.30 will also be ready at some point, and the WebGadget will work again.
You don't need to connect a keyboard or monitor for programming.
You can also do it with ssh and X11. Much better than with VNC.
Here ...