Search found 595 matches
- Tue Oct 07, 2025 10:21 pm
- Forum: Mac OSX
- Topic: #PB_Shortcut_??? for [,] and [.]?
- Replies: 5
- Views: 975
Re: #PB_Shortcut_??? for [,] and [.]?
It seems 44 = [.] and 46 = [,]. Are there constants for this? Presumably, the keyboard layout used is a problem because it is not unique?
- Tue Oct 07, 2025 10:12 pm
- Forum: Mac OSX
- Topic: #PB_Shortcut_??? for [,] and [.]?
- Replies: 5
- Views: 975
Re: #PB_Shortcut_??? for [,] and [.]?
I search for the "#PB_Shortcut_" not "#PB_Key_"
https://www.purebasic.com/documentation ... rtcut.html
- Tue Oct 07, 2025 10:00 pm
- Forum: Mac OSX
- Topic: #PB_Shortcut_??? for [,] and [.]?
- Replies: 5
- Views: 975
#PB_Shortcut_??? for [,] and [.]?
I search for the #PB_Shortcut_ constants of the two keys to the right of [M] on german keyboard layout: [,;] and [.:]
- Mon Sep 15, 2025 5:15 am
- Forum: Bugs - IDE
- Topic: PB 6.30 b1 - Alpha issue with IDE icons
- Replies: 3
- Views: 1249
Re: PB 6.30 b1 - Alpha issue with IDE icons
Seems to be related with that bug:
viewtopic.php?t=87465
viewtopic.php?t=87465
- Tue Sep 02, 2025 8:03 am
- Forum: Bugs - Mac OSX
- Topic: [Done] PB 6.30 b1/b2 - #PB_Image_Transparent don't work
- Replies: 2
- Views: 1081
[Done] PB 6.30 b1/b2 - #PB_Image_Transparent don't work
https://lebostein.de/temp/Bildschirmfoto%202025-09-02%20b.png
If OpenWindow(0, 0, 0, 100, 100, "Kreis mit Transparenz", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
; Bild mit 32-bit Farbtiefe und Alphakanal erstellen
CreateImage(0, 100, 100, 32, #PB_Image_Transparent)
If ...
If OpenWindow(0, 0, 0, 100, 100, "Kreis mit Transparenz", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
; Bild mit 32-bit Farbtiefe und Alphakanal erstellen
CreateImage(0, 100, 100, 32, #PB_Image_Transparent)
If ...
- Tue Sep 02, 2025 7:53 am
- Forum: Bugs - IDE
- Topic: CMD+Quit - PB hangs
- Replies: 9
- Views: 2767
Re: CMD+Quit - PB hangs
Seems now fixed with 6,30 b1
- Tue Sep 02, 2025 7:48 am
- Forum: Bugs - IDE
- Topic: PB 6.30 b1 - Alpha issue with IDE icons
- Replies: 3
- Views: 1249
PB 6.30 b1 - Alpha issue with IDE icons
The background of the symbols is white now, not transparent:


- Sat Jun 21, 2025 3:52 am
- Forum: Coding Questions
- Topic: Check if a folder is a symlink
- Replies: 6
- Views: 659
Re: Check if a folder is a symlink
But it seems only work if I use the x64 version of PB. With PB arm64 version it dont work correctly...
- Mon Jun 16, 2025 9:18 am
- Forum: Feature Requests and Wishlists
- Topic: Is there no RotateImage?
- Replies: 7
- Views: 1599
Re: Is there no RotateImage?
You mean there is no API function for rotating images (90°) for one ore more OS (Linux, Win Mac)?mk-soft wrote: Sat Jun 14, 2025 10:38 am PureBasic uses and offers only available API functions of the respective OS with the highest common denominator of all OS.
To rotate images, see example DrawVectorImage().
- Mon Jun 16, 2025 7:34 am
- Forum: Coding Questions
- Topic: Default value for "ScrollStep" in ScrollAreaGadget()?
- Replies: 1
- Views: 147
Default value for "ScrollStep" in ScrollAreaGadget()?
I would like to use the #PB_ScrollArea_BorderLess flag. But I can't do that without having to specify the “ScrollStep” parameter. Unfortunately, there is no default value in the documentation that I can use without changing the previous behavior.
Edit: The default value for "flags" is also missing ...
Edit: The default value for "flags" is also missing ...
- Sat Jun 14, 2025 7:52 pm
- Forum: Mac OSX
- Topic: How I catch an "open with..." with my app?
- Replies: 6
- Views: 4456
Re: How I catch an "open with..." with my app?
I have tried your code inside my app:
ImportC ""
PB_Gadget_SetOpenFinderFiles(Callback)
EndImport
IsGadget(0) ; Ensures the gadget lib is linked as this command is in it
ProcedureC OpenFinderFilesCallback(*Utf8Files)
Protected filecnt,filesin$,filename$
filesin$ = PeekS(*Utf8Files, -1, #PB ...
ImportC ""
PB_Gadget_SetOpenFinderFiles(Callback)
EndImport
IsGadget(0) ; Ensures the gadget lib is linked as this command is in it
ProcedureC OpenFinderFilesCallback(*Utf8Files)
Protected filecnt,filesin$,filename$
filesin$ = PeekS(*Utf8Files, -1, #PB ...
- Sat Jun 14, 2025 8:28 am
- Forum: Coding Questions
- Topic: Check if a folder is a symlink
- Replies: 6
- Views: 659
Re: Check if a folder is a symlink
For me it works
- Sat Jun 14, 2025 8:15 am
- Forum: Feature Requests and Wishlists
- Topic: Is there no RotateImage?
- Replies: 7
- Views: 1599
Is there no RotateImage?
I am a little bit shocked that there is no simple 90° rotating image command in the image library. For an "easy to use" programming language I would have expected that.
Before anyone posts a workaround here: I don't need one. I'm just wondering why you can't find certain basic functions in PB.
Before anyone posts a workaround here: I don't need one. I'm just wondering why you can't find certain basic functions in PB.
- Fri Jun 13, 2025 2:55 pm
- Forum: Coding Questions
- Topic: Check if a folder is a symlink
- Replies: 6
- Views: 659
Re: Check if a folder is a symlink
ChatGPT has helped me successfully: :D
ImportC ""
lstat(path.p-utf8, *buf)
EndImport
Structure stat
st_dev.q
st_mode.l
st_nlink.l
st_ino.q
st_uid.l
st_gid.l
st_rdev.q
st_atimespec.q[2]
st_mtimespec.q[2]
st_ctimespec.q[2]
st_birthtimespec.q[2]
st_size.q
st_blocks.q
st_blksize.l
st ...
ImportC ""
lstat(path.p-utf8, *buf)
EndImport
Structure stat
st_dev.q
st_mode.l
st_nlink.l
st_ino.q
st_uid.l
st_gid.l
st_rdev.q
st_atimespec.q[2]
st_mtimespec.q[2]
st_ctimespec.q[2]
st_birthtimespec.q[2]
st_size.q
st_blocks.q
st_blksize.l
st ...
- Thu Jun 12, 2025 9:49 pm
- Forum: Coding Questions
- Topic: Check if a folder is a symlink
- Replies: 6
- Views: 659
Check if a folder is a symlink
On macos I get "-2" if I check a folder with FileSize() which is actually a symlink to another directory. I suppose it is similar under Windows.
How I can check if a folder is a real folder or a symlink?
How I can check if a folder is a real folder or a symlink?