Search found 1658 matches
- Fri Feb 13, 2026 3:08 pm
- Forum: Mac OSX
- Topic: ListIconGadget Row Height
- Replies: 8
- Views: 374
Re: ListIconGadget Row Height
rowHeigth.d = 32.0
CocoaMessage(0,GadgetID(gadget?), "setRowHeight:@", @rowHeigth)
RowHeight should be declared as
RowHeight.CGFloat
For a complete working example that gets and sets row height using a slider you may take a look into this more than 13 year old example (though you have to ...
- Fri Feb 13, 2026 12:18 pm
- Forum: Mac OSX
- Topic: ListIconGadget Row Height
- Replies: 8
- Views: 374
Re: ListIconGadget Row Height
Also, is there a way to center the header cell text?
EnableExplicit
Procedure CenterHeaderText(ListIconID.I, ColumnID.I)
Protected ColumnIDString.S = Str(ColumnID)
Protected ColumnObject.I
Protected HeaderCell.I
; ----- Get HeaderCell
CocoaMessage(@ColumnObject, GadgetID(ListIconID ...
- Mon Feb 09, 2026 10:54 am
- Forum: Coding Questions
- Topic: ListIconGadget text layout
- Replies: 5
- Views: 420
Re: ListIconGadget text layout
KianV wrote: I am working cross-platform, but mainly on Linux.
BarryG wrote: See the bottom-right image in the Help manual: https://www.purebasic.com/documentation ... adget.html
Help for ListIconGadget wrote: - SetGadgetAttribute() with the following attribute:
#PB_ListIcon_DisplayMode : Changes the display of the gadget (Windows only).
- Tue Dec 16, 2025 9:42 pm
- Forum: Coding Questions
- Topic: vbox does not work in splittergadget under Linux
- Replies: 1
- Views: 469
Re: vbox does not work in splittergadget under Linux
This code works fine on Windows, but on Linux the vbox does not work. But only in a SplitterGadget. Outside the Splitter it workes fine.
Please always state your Windows and Linux version and on Linux the desktop environment and the display server protocol (Wayland or X11)!
I can confirm the ...
- Wed Dec 03, 2025 4:24 pm
- Forum: Bugs - IDE
- Topic: no total translate
- Replies: 6
- Views: 2223
Re: no total translate
You have to change the "http:" to "https:" in that URL and the image will load...NicTheQuick wrote: That file is not loading.
- Mon Nov 17, 2025 7:22 pm
- Forum: 3D Programming
- Topic: opengl version
- Replies: 5
- Views: 2211
Re: opengl version
Up to PB 6.12 it was possible to let Ogre generate a debug log and read the Ogre version from that log. I have already posted a cross-platform example here which gets the Ogre version and displays it.
Unfortunately beginning with PB 6.20 the Ogre debug log always remains empty. I therefore have ...
Unfortunately beginning with PB 6.20 the Ogre debug log always remains empty. I therefore have ...
- Sat Nov 15, 2025 7:31 pm
- Forum: Tricks 'n' Tips
- Topic: Module ToolBarStandardButton for all OS and PB v6.00
- Replies: 23
- Views: 9214
Re: Module ToolBarStandardButton for all OS and PB v6.00
Error on MacOS 10.15.7 'Catalina':
[ERROR] Object does not respond to method "setToolbarStyle:".
The error occurs in Procedure SetToolBarStyle() because the first supported version of setToolbarStyle: is MacOS 11:
toolbarStyle
The style that determines the appearance and location of the ...
[ERROR] Object does not respond to method "setToolbarStyle:".
The error occurs in Procedure SetToolBarStyle() because the first supported version of setToolbarStyle: is MacOS 11:
toolbarStyle
The style that determines the appearance and location of the ...
- Sat Nov 15, 2025 12:04 pm
- Forum: Mac OSX
- Topic: Borderless mini icon
- Replies: 8
- Views: 2653
Re: Borderless mini icon
Sorry, I had forgotten to insert the URL into the link. I have repaired the link now.rndrei wrote: The link is broken!
- Sat Nov 15, 2025 11:40 am
- Forum: Mac OSX
- Topic: Borderless mini icon
- Replies: 8
- Views: 2653
Re: Borderless mini icon
You can even place small buttons into the title bar. 11 years ago I already posted these two examples . And here is another until now unpublished example from 5 years ago which places a circular help button at the right side of the title bar. Both examples were just succussfully tested on MacOS 15.7 ...
- Mon Nov 10, 2025 10:39 am
- Forum: Mac OSX
- Topic: Scintilla scrollbar
- Replies: 14
- Views: 3495
Re: Scintilla scrollbar
I can't reproduce that behaviour on my iMac 2019 with Intel processor on MacOS 15.7.1 'Sequoia' and PB 6.30 Beta 4.
- Mon Nov 03, 2025 4:18 pm
- Forum: Mac OSX
- Topic: Mouse Icon
- Replies: 3
- Views: 2964
Re: Mouse Icon
You are welcome to enjoy my chocolates!Piero wrote: I'm not much into cocoa, but THANKS for all your chocolates!![]()
- Thu Oct 30, 2025 10:28 pm
- Forum: Mac OSX
- Topic: Mouse Icon
- Replies: 3
- Views: 2964
Re: Mouse Icon
How can I disable the cursor icon above editorgadget() and put my own icon?
The EditorGadget forces the cursor to always be displayed as an insertion cursor. In order to display a custom cursor, you have to subclass the EditorGadget (internally a NSTextView) and check in a callback for all mouse ...
- Sun Oct 26, 2025 2:03 pm
- Forum: Mac OSX
- Topic: Module TableView Colors (ListViewGadget and ListIconGadget)
- Replies: 11
- Views: 14094
Re: Module TableView Colors (ListViewGadget and ListIconGadget)
Doesn't work, doesn't display text!? (MacOS 15.7)
In PB 6.0 Fred implemented the new PBIconTextCell which enables the display of both an icon and text in a single cell. Therefore the old modifications for PB 5.73 and older don't work anymore. But the ListIconGadget in PB 6 now supports ...
- Sun Oct 26, 2025 11:00 am
- Forum: Coding Questions
- Topic: Disable standart PopupMenu
- Replies: 3
- Views: 835
Re: Disable standart PopupMenu
How to disable pupupmenu standard in editorgadget()?
For which OS do you need this? The following example demonstrates how to disable the Popup menu on MacOS (successfully tested on MacOS 15.7.1 'Sequoia' with PB 6.21):
EnableExplicit
CompilerIf #PB_Compiler_Version < 600
Import "-fno-pie ...
- Wed Oct 15, 2025 9:13 pm
- Forum: Bugs - 3D Engine
- Topic: [PB 6.21] InitEngine3D(): DebugLog remains empty
- Replies: 0
- Views: 2707
[PB 6.21] InitEngine3D(): DebugLog remains empty
After InitEngine3D(#PB_Engine3D_DebugLog) the DebugLog is always empty.
Tested with
- Linux Mint 21.3 'Virginia' and PB 6.21 x64 and PB 6.30 Beta 3 x64
- MacOS 15.7.1 'Sequoia' and PB 6.21 x64
- Windows 10 22H2 x64 and PB 6.21 x86
Result = InitEngine3D(#PB_Engine3D_DebugLog)
MessageRequester ...
Tested with
- Linux Mint 21.3 'Virginia' and PB 6.21 x64 and PB 6.30 Beta 3 x64
- MacOS 15.7.1 'Sequoia' and PB 6.21 x64
- Windows 10 22H2 x64 and PB 6.21 x86
Result = InitEngine3D(#PB_Engine3D_DebugLog)
MessageRequester ...