This code ExamineHIDs()
While NextHID()
Debug HIDInfo(#PB_HID_Product)
Debug HIDInfo(#PB_HID_Manufacturer)
Debug HIDInfo(#PB_HID_VendorId)
Debug HIDInfo(#PB_HID_ProductId)
Debug HIDInfo(#PB_HID_Path)
Debug HIDInfo(#PB_HID_SerialNumber)
Wend sometimes it freezes. Need to run PB IDE with sudo ...
Search found 1122 matches
- Fri Oct 10, 2025 11:45 pm
- Forum: Bugs - Linux
- Topic: PB 6.30 b3 - ExamineHIDs() freezes
- Replies: 0
- Views: 37
- Tue Oct 07, 2025 7:12 pm
- Forum: Bugs - Windows
- Topic: ScreenGadget bugs
- Replies: 20
- Views: 1477
Re: ScreenGadget bugs
There is also no application crash.
- Tue Oct 07, 2025 10:57 am
- Forum: Bugs - Windows
- Topic: ScreenGadget bugs
- Replies: 20
- Views: 1477
Re: ScreenGadget bugs
Can you try with skins 1 and 2 (first line of code in the example)? The problem is only when choosing a skin 3. It's probably a font issue "ink free".
For some reason the function SetScreenGadgetFont() not work. I added after the line StringScreenGadget(40,180,460,250,34,"blablabla blabla bla",0 ...
For some reason the function SetScreenGadgetFont() not work. I added after the line StringScreenGadget(40,180,460,250,34,"blablabla blabla bla",0 ...
- Mon Oct 06, 2025 11:23 pm
- Forum: Coding Questions
- Topic: [SOLVED] No button or progress gadgets appearing?
- Replies: 6
- Views: 265
Re: No button or progress gadgets appearing?
It must beRandy Walker wrote: Mon Oct 06, 2025 11:13 pmCode: Select all
Repeat : Until WaitWindowEvent = #PB_Event_CloseWindow
Code: Select all
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
- Mon Oct 06, 2025 4:01 pm
- Forum: Bugs - Windows
- Topic: ScreenGadget bugs
- Replies: 20
- Views: 1477
Re: ScreenGadget bugs
I echo Bisonte's sentiment that a simple list of the new commands, parameters & flags would be really useful in testing. This information can be retrieved from the screen library. AddScreenGadgetItem(#ScreenGadget, Position, Text$) ; Adds an item to a gadget (ListView, ComboBox etc ...
- Mon Oct 06, 2025 11:25 am
- Forum: Bugs - Windows
- Topic: ScreenGadget bugs
- Replies: 20
- Views: 1477
Re: ScreenGadget bugs
In the example : screengadgetmultiplewindow, on window2, tab splitter, move splitter on max right or max left : the app freeze. Doesn't freeze.
I guess this happens under certain circumstances.
I found this bug. When entering non-english text, the text cursor is moved to the right of the text ...
I guess this happens under certain circumstances.
I found this bug. When entering non-english text, the text cursor is moved to the right of the text ...
- Wed Oct 01, 2025 4:31 pm
- Forum: Mac OSX
- Topic: Header color in ListIconGadget
- Replies: 3
- Views: 377
Re: Header color in ListIconGadget
This is the code for Windows. It's needed for MacOS.
- Tue Sep 30, 2025 9:03 pm
- Forum: Mac OSX
- Topic: Header color in ListIconGadget
- Replies: 3
- Views: 377
Header color in ListIconGadget
Is there a way to change the header color in ListIconGadget?
- Tue Sep 30, 2025 7:29 pm
- Forum: Coding Questions
- Topic: catch font question ...
- Replies: 2
- Views: 237
- Tue Sep 30, 2025 10:27 am
- Forum: Announcement
- Topic: PureBasic 6.30 beta 3 is ready !
- Replies: 91
- Views: 13628
Re: PureBasic 6.30 beta 2 is ready !
How to use hidraw backend instead of libusb? This is what is written on Github . On Linux, either the hidraw or the libusb back-end can be used. There are tradeoffs, and the functionality supported is slightly different. Both are built by default. It is up to the application linking to hidapi to ...
- Mon Sep 29, 2025 11:11 am
- Forum: Off Topic
- Topic: License limitation of PureBASIC
- Replies: 7
- Views: 736
Re: License limitation of PureBASIC
There are several licenses https://www.purebasic.com/pricing.php
Single user license, allows only one person to use this license. There is no limit on the number of computers (since one person can have many PCs).
There is also a license "company site" and it allows all company employees to use ...
Single user license, allows only one person to use this license. There is no limit on the number of computers (since one person can have many PCs).
There is also a license "company site" and it allows all company employees to use ...
- Mon Sep 29, 2025 10:41 am
- Forum: Bugs - Mac OSX
- Topic: [Done] Incorrect window number for tray menu events.
- Replies: 5
- Views: 466
Re: Incorrect window number for tray menu events.
What value do you want it to return? When creating the tray icon, the window with ID 10 is specified. AddSysTrayIcon(0, WindowID(10), LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/world.png")) On Windows, this code works correctly and the function EventWindow() returns the number 10. But ...
- Sun Sep 28, 2025 11:16 pm
- Forum: Off Topic
- Topic: SSD testing tools
- Replies: 2
- Views: 378
Re: SSD testing tools
Do you mean SLC cache?
There are applications Aida64 and Victoria which can write the entire volume of an SSD and display a graph of the write speed.
- Sun Sep 28, 2025 11:08 pm
- Forum: Bugs - Mac OSX
- Topic: [Done] Incorrect window number for tray menu events.
- Replies: 5
- Views: 466
[Done] Incorrect window number for tray menu events.
; Invisible window to just have the systray
OpenWindow(10, 0, 0, 10, 10, "", #PB_Window_Invisible)
UsePNGImageDecoder()
AddSysTrayIcon(0, WindowID(10), LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/world.png"))
; Create a pop-up menu to be displayed by the systray with a systray look ...
OpenWindow(10, 0, 0, 10, 10, "", #PB_Window_Invisible)
UsePNGImageDecoder()
AddSysTrayIcon(0, WindowID(10), LoadImage(0, #PB_Compiler_Home + "examples/sources/Data/world.png"))
; Create a pop-up menu to be displayed by the systray with a systray look ...
- Sun Sep 28, 2025 7:19 pm
- Forum: Off Topic
- Topic: License limitation of PureBASIC
- Replies: 7
- Views: 736
Re: License limitation of PureBASIC
Here are answers to some of your questions https://www.purebasic.com/faq.php
Is the PureBasic licence valid for all OS?
Yes. The PureBasic licence is a user-based licence, which means you can install your full version on all of your computers without the need to buy another licence for each ...
Is the PureBasic licence valid for all OS?
Yes. The PureBasic licence is a user-based licence, which means you can install your full version on all of your computers without the need to buy another licence for each ...