Search found 594 matches

by Lebostein
Tue Mar 19, 2024 8:55 am
Forum: Bugs - Mac OSX
Topic: "nil NSFont"-Error in EditorGadget() if SetGadgetFont() before
Replies: 2
Views: 429

Re: "nil NSFont"-Error in EditorGadget() if SetGadgetFont() before

Hey, nice to know that ".AppleSystemUIFont" or an empty string "" as font name loads the system default font. This question is very often asked here, how to get the name of the system font, for example, to provide some labels with a larger font. Could almost be included in the do...
by Lebostein
Sun Mar 17, 2024 9:07 am
Forum: Bugs - Mac OSX
Topic: "nil NSFont"-Error in EditorGadget() if SetGadgetFont() before
Replies: 2
Views: 429

"nil NSFont"-Error in EditorGadget() if SetGadgetFont() before

If you change the font size to 12 or 14, it works. But with 13 the program crashes with this strange error message... the return of LoadFont() is OK in all cases. result = LoadFont(0, "San Francisco", 13) SetGadgetFont(#PB_Default , FontID(0)) Debug result ; seems OK and loaded OpenWindow(...
by Lebostein
Sat Mar 16, 2024 8:08 am
Forum: Mac OSX
Topic: 6.10b8 ListView line height is much larger
Replies: 8
Views: 419

Re: 6.10b8 ListView line height is much larger

It seems it is a hard thing to get back to the default (maybe it is impossible to get all information about the default setup?). Even with the fix on beta 8, you can still see differences between the original state and the reset font. -------------------- Other strange thing (or is that how Apple sp...
by Lebostein
Fri Mar 15, 2024 7:08 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 334
Views: 41886

Re: PureBasic 6.10 beta 8 is out !

jacdelad wrote: Fri Mar 15, 2024 2:05 pm Why not buy a licence and donate it to some young folk to get in touch with PureBasic?
Hey, nice thought. Maybe I can think of someone in my family... :wink:
by Lebostein
Fri Mar 15, 2024 3:57 pm
Forum: Mac OSX
Topic: 6.10b8 ListView line height is much larger
Replies: 8
Views: 419

Re: 6.10b8 ListView line height is much larger

Does it appear that line height in the ListViewGadget is much larger than in 6.10b7? The example in Help seems to be ok but I'm going to have a lot of editing to get the new size to work and I'd really like the lines not be so tall. In one of my programs in beta 7 I get 70 lines showing and in beta...
by Lebostein
Fri Mar 15, 2024 10:52 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 334
Views: 41886

Re: PureBasic 6.10 beta 8 is out !

:D Is there a way to support the project financially independently of buying a license? I purchased my PB license 21 years ago. I'm starting to feel guilty about having paid for it just this once... PS: Who can do a current interview with the makers of PB? What is the current situation? Who is invol...
by Lebostein
Mon Mar 04, 2024 10:45 am
Forum: Mac OSX
Topic: SetGadgetFont leads to narrow line spacing in ListViewGadget
Replies: 1
Views: 210

SetGadgetFont leads to narrow line spacing in ListViewGadget

Is this only depending on the font? But this line spacing I see seems to small (the line height ends exactly with the tail of the "y"). However, the line spacing is much larger in the default state... if OpenWindow(0, 0, 0, 270*2, 140, "ListViewGadget", #PB_Window_SystemMenu | #P...
by Lebostein
Mon Mar 04, 2024 7:17 am
Forum: 3D Programming
Topic: Demo 3D - Repulsion
Replies: 9
Views: 1693

Re: Demo 3D - Repulsion

With Mac OS this looks completely different and faulty. The stars are simply white dots and the screen section is also limited to 1/4....
by Lebostein
Fri Feb 23, 2024 3:10 pm
Forum: Bugs - Documentation
Topic: Default value for "Color" in DisplayTransparentSprite
Replies: 1
Views: 251

Default value for "Color" in DisplayTransparentSprite

Is the default value = -1? There is no documented...
by Lebostein
Thu Feb 22, 2024 11:02 am
Forum: Coding Questions
Topic: ReadPreferenceString() has a problem with unicode files
Replies: 5
Views: 250

Re: ReadPreferenceString() has a problem with unicode files

Thanks. In Beta 6 #PB_Preference_NoBOM for CreatePreferences() is not known by the Debugger (returns an error, missplaced constant), but I hope this is fixed in the final.
by Lebostein
Wed Feb 21, 2024 8:24 pm
Forum: Bugs - Documentation
Topic: GetCurrentDirectory() - wrong constants
Replies: 2
Views: 268

Re: GetCurrentDirectory() - wrong constants

Specific OS path separator characters are available #PS, #NPS, #PS$ ('\') and #NPS$ ('/'). That is also wrong, I think (FileSystem, ExamineDirectory(), SetCurrentDirectory()). Should be Specific OS path separator characters are available #PS, #PS$ ('\' for Windows or '/' otherwise). With #NPS, #NPS...
by Lebostein
Wed Feb 21, 2024 8:01 pm
Forum: Bugs - Documentation
Topic: GetCurrentDirectory() - wrong constants
Replies: 2
Views: 268

GetCurrentDirectory() - wrong constants

Returns the full path of the current directory. It will end with a directory separator ('\', #PS, #PS$ for Windows or '/', #NPS, #NPS$ otherwise) Wrong. Whatever the system is, the path will always end with #PS$, never with #NPS$! Please remove the mention of #NPS$ here. The directory separator is ...
by Lebostein
Tue Feb 20, 2024 3:11 pm
Forum: Announcement
Topic: Old School Text Advenure System
Replies: 15
Views: 1362

Re: Old School Text Advenure System

Bitblazer wrote: Tue Feb 20, 2024 10:49 am PureVision
The GUI of this text adventure tool seems very basic (some buttons and text fields). What purpose does this PureVision library serve here? (I'm just trying to understand, because I can not test as I do not have access to this library)
by Lebostein
Tue Feb 20, 2024 10:29 am
Forum: Announcement
Topic: Old School Text Advenure System
Replies: 15
Views: 1362

Re: Old School Text Advenure System

You have some local paths in your source code. Is that an external module? In the manual I could not find the phrase "PureVision64".... XIncludeFile "D:\Program Files\PureVision64\Modules\Module_PVGadgets.pbi" I wonder why this program has 28 MB (163 pb-files) unzipped source cod...
by Lebostein
Mon Feb 19, 2024 9:19 am
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 334
Views: 41886

Re: PureBasic 6.10 beta 6 is out !

What is going on in the Mac OS Bug section? :shock: :shock: Fred has fixed 98 % of all reported bugs!!! :shock: :shock:
This forum will be almost empty after the release of 6.10. :D :D