Search found 84 matches

by Cezary
Mon Dec 08, 2025 10:27 pm
Forum: Bugs - Linux
Topic: PB 6.30b3 TextGadget horizontal text positioning error
Replies: 3
Views: 1445

Re: PB 6.30b3 TextGadget horizontal text positioning error

As I see, this has been fixed in beta 5.
Great!
by Cezary
Mon Dec 08, 2025 9:51 am
Forum: Announcement
Topic: PureBasic 6.30 beta 5 is ready !
Replies: 136
Views: 28768

Re: PureBasic 6.30 beta 4 is ready !

ScrollAreaGadget() border flags doesn't seem to work, Windows and Linux. Could someone confirm this please?
by Cezary
Tue Oct 07, 2025 9:02 am
Forum: Bugs - Linux
Topic: PB 6.30b3 TextGadget horizontal text positioning error
Replies: 3
Views: 1445

PB 6.30b3 TextGadget horizontal text positioning error

Linux Mint 22.2 Cinnamon, PureBasic_Linux3_beta_X64_6.30 installation pack:
regargless of TextGadget parameter #PB_Text_Right, #PB_Text_Center or without any (should be left aligned), the text is always centered.

If OpenWindow(0, 100, 100, 150, 100, "test", #PB_Window_SystemMenu)

TextGadget(0 ...
by Cezary
Fri Sep 05, 2025 10:22 am
Forum: Bugs - IDE
Topic: Edit > Find in files - unnecessarily opens file
Replies: 1
Views: 1405

Edit > Find in files - unnecessarily opens file

This is in PB 6.21 and 6.30b1, Windows and Linux:
executing the "Find in files" operation and clicking on any found place reopens the previously opened file (another tab in the editor). As a result, this causes a problem with the change in the content of a previously opened file, reported by the ...
by Cezary
Mon May 12, 2025 1:18 pm
Forum: Feature Requests and Wishlists
Topic: Variable by reference in procedure
Replies: 31
Views: 4678

Re: Variable by reference in procedure

Instead of "ByRef" it is also possible to use "Ptr" for simple variables. For structures it could also be possible (optionally) to use "Ptr", e.g.: "Ptr abc.MyStruc", then the syntax would remain clear.
by Cezary
Mon May 12, 2025 11:51 am
Forum: Feature Requests and Wishlists
Topic: Variable by reference in procedure
Replies: 31
Views: 4678

Re: Variable by reference in procedure

So maybe this keyword should be "InOut", "BiDir" or something similar?
by Cezary
Mon May 12, 2025 9:01 am
Forum: Feature Requests and Wishlists
Topic: Variable by reference in procedure
Replies: 31
Views: 4678

Re: Variable by reference in procedure

I've also needed a procedure to return more than one value many times. I once added the ability to return two values ​​to my wish list (for which I was immediately criticized). The solution with the word 'Out' is good in my opinion and I join the request.
by Cezary
Mon Oct 07, 2024 7:56 am
Forum: Raspberry PI
Topic: PIGPIOD
Replies: 14
Views: 15885

Re: PIGPIOD

idle,
for now I have used older RPi400 in my work and everything works as it should. I'll check this library from github when I have some free time.
Thanks for your help.
by Cezary
Sun Oct 06, 2024 11:49 am
Forum: Raspberry PI
Topic: PIGPIOD
Replies: 14
Views: 15885

Re: PIGPIOD

On Raspberrypi forum I found such post:
Re: Raspberry Pi 5 - gpiod vs RPi.GPIO

Quote

Thu Nov 16, 2023 6:37 pm
The Pi5 has new GPIO hardware. It is not compatible with software written for earlier Pi models.
by Cezary
Sun Oct 06, 2024 10:15 am
Forum: Raspberry PI
Topic: PIGPIOD
Replies: 14
Views: 15885

Re: PIGPIOD

The error message is "failed to connect to pigpiod". I reinstalled Raspios (2024-07-04) on my Pi5 cleanly, but it didn't help. I will look for information and see how to check the operation of pigpiod using C.
by Cezary
Sat Oct 05, 2024 10:11 pm
Forum: Raspberry PI
Topic: PIGPIOD
Replies: 14
Views: 15885

Re: PIGPIOD

Dear Users,
I'm trying to do something on the Pi using gpio library, but every time after executing the instructions (and "sudo pigpiod" in a terminal window before):

Code: Select all

IncludeFile "pigpiodf2.pbi"
pi = pigpio_start(0,0)
Debug pi
I get some non-zero value.
What am I doing wrong?
by Cezary
Fri Aug 16, 2024 7:29 pm
Forum: Announcement
Topic: PureBasic 6.12 LTS is out !
Replies: 92
Views: 59798

Re: PureBasic 6.12 beta 3 is out !

Right click on the selected help text do not open popup menu (Linux Mint Cinnamon).
BTW: is it possible to make a source line spacing in Linux editor little greater?
by Cezary
Fri Aug 16, 2024 3:08 pm
Forum: Coding Questions
Topic: NAS resources access from Linux application
Replies: 4
Views: 1090

Re: NAS resources access from Linux application

NicTheQuick,
with this file reading, I took a bit of a mental shortcut.
The procedure you provided works great, but only when I run it as superuser. Is there a way to do this without sudo?
by Cezary
Fri Aug 16, 2024 1:48 pm
Forum: Coding Questions
Topic: NAS resources access from Linux application
Replies: 4
Views: 1090

NAS resources access from Linux application

Dear Users,
in my application program running in Windows, I read some file from NAS in this way (using SAMBA):

RunProgram("net", "use //mynas/myfolder/my_file /user:name password", "", #PB_Program_Hide)

This is a very convenient method when the NAS does not have a static IP.
Is there an equally ...
by Cezary
Tue Feb 20, 2024 8:43 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 344
Views: 125417

Re: PureBasic 6.10 beta 6 is out !

Fred wrote: Mon Feb 19, 2024 10:02 am Just waiting for you to report some more :D
Is there any chance to improve this:
https://www.purebasic.fr/english/viewtopic.php?p=605500