Search found 1920 matches

by jacdelad
Wed Dec 10, 2025 1:14 pm
Forum: Bugs - Windows
Topic: PB 6.30 Beta 4 - ScreenGadget library - bug report
Replies: 32
Views: 2200

Re: PB 6.30 Beta 4 - ScreenGadget library - bug report


FYI
ScreenGadget uses basic PB functions:
- Vectordrawing only at initialization, to draw the interface
- 2DDrawing for updating gadgets' graphics
- Sprite, mouse, and keyboard on every frame



If it's using vector drawing and 2d-drawing, could this possibly collide when program does that too ...
by jacdelad
Wed Dec 10, 2025 10:08 am
Forum: Bugs - Windows
Topic: [Done] StartVectorDrawing(PdfVectorOutput()) ERROR on PDF Create
Replies: 3
Views: 456

Re: [Done] StartVectorDrawing(PdfVectorOutput()) ERROR on PDF Create

loulou2522 wrote: Tue Dec 09, 2025 7:37 pm Is it possible to have page in portrait and other in landscape on the same PDF ?
This ist not the right thread to ask that and you already created a thread: viewtopic.php?p=647898&hilit=Landscape#p647898
by jacdelad
Mon Nov 24, 2025 11:39 am
Forum: Coding Questions
Topic: Setting a Child Window into Parent
Replies: 11
Views: 798

Re: Setting a Child Window into Parent

Ah sorry, I usually code with Windows, so I wasn't aware of this. Since you already found SetParent I cannot help you further.
by jacdelad
Mon Nov 24, 2025 9:56 am
Forum: Coding Questions
Topic: Setting a Child Window into Parent
Replies: 11
Views: 798

Re: Setting a Child Window into Parent

The parent id is not intended for this purpose. Have you tried the MDIGadget? https://www.purebasic.com/german/docume ... adget.html
by jacdelad
Sun Nov 23, 2025 10:43 pm
Forum: Announcement
Topic: Deltrapp R - application to draw the electrical routes for PCBs
Replies: 3
Views: 448

Re: Deltrapp R - application to draw the electrical routes for PCBs

Just for my curiosity: Does this follow any official standard? Because usually Gerber or CAM is used and *cough* I already wrote a Gerber module: viewtopic.php?p=606951&hilit=Gerber#p606951 (just for viewing/processing, not creating (yet)).
by jacdelad
Fri Nov 21, 2025 7:47 pm
Forum: Coding Questions
Topic: Create Modal Window
Replies: 5
Views: 353

Re: Create Modal Window

Where did you find the code? Did you run it even once? I didn't, but on sure it won't run: the procedure has to be placed before calling it or you need to add a Declare.

Regarding your question: You usually should only write one event loop, but in this case the main window is disabled while the ...
by jacdelad
Fri Nov 14, 2025 12:43 pm
Forum: Coding Questions
Topic: [solved] pb v6.21 compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.
Replies: 9
Views: 587

Re: [pb 6.21] compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.

There's a thread for missing API definitions and the wishing section.l and in sure Fred will include it in the next version.
https://www.purebasic.fr/english/viewtopic.php?t=64838

Again, this is not an error by the compiler: The function you call is not defined. Not more, not less. The defined ...
by jacdelad
Fri Nov 14, 2025 7:16 am
Forum: Coding Questions
Topic: [solved] pb v6.21 compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.
Replies: 9
Views: 587

Re: [pb 6.21] compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.

This is a Windows API call. Just because it's not defined, doesn't mean it's a bug. You can define it by yourself.
BTW: A lot of APIs are not defined by default...
by jacdelad
Fri Nov 14, 2025 5:15 am
Forum: Coding Questions
Topic: [solved] pb v6.21 compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.
Replies: 9
Views: 587

Re: [pb 6.21] compiles successfully under PureBasic x86, but an error occurs under PureBasic x64.

Not a bug, InterlockedExchangeAddoperates with 32 bit values. Using InterlockedExchangeAdd64 will work.

The sources you linked also say this.
by jacdelad
Mon Nov 03, 2025 12:23 pm
Forum: Coding Questions
Topic: Getting name of a variable as a string$ during runtime?
Replies: 11
Views: 909

Re: Getting name of a variable as a string$ during runtime?

AZJIO wrote: Mon Nov 03, 2025 11:46 am Map?
In compiled languages, the name is not stored. But you can make a connection through "Map".
How does the dialog library connect the variable name in a string to the actual variable?
by jacdelad
Mon Nov 03, 2025 9:16 am
Forum: Coding Questions
Topic: events lost in tranparent window
Replies: 5
Views: 1104

Re: events lost in tranparent window

Small annotation: no need to put a declare right in front of a procedure. The declare is only needed if the procedure is far away later in the source.
by jacdelad
Sat Nov 01, 2025 11:32 am
Forum: Coding Questions
Topic: ReceiveFTPFile keeps failing in ver 5.40
Replies: 8
Views: 741

Re: ReceiveFTPFile keeps failing in ver 5.40

Oh, didn't see that.
by jacdelad
Sat Nov 01, 2025 10:13 am
Forum: Coding Questions
Topic: ReceiveFTPFile keeps failing in ver 5.40
Replies: 8
Views: 741

Re: ReceiveFTPFile keeps failing in ver 5.40

Niiiiiiice catch, Philo! Another victim of DisableExplicit.