OK, thanks for that WilliamL. I saw the workaround earlier and it seems to work well enough.
It's still a bug though.
Maybe (hopefully) it'll get fixed in the next PB iteration.
Cheers
Dave
Search found 56 matches
- Thu Apr 04, 2024 5:06 pm
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 8
- Views: 3598
- Thu Apr 04, 2024 3:00 pm
- Forum: Mac OSX
- Topic: 6.10b8 ListView line height is much larger
- Replies: 8
- Views: 3598
Re: 6.10b8 ListView line height is much larger
I'm using the latest PB release (6.10) and the large vertical spacing in the ListViewGadget is still evident.
Is anyone else seeing this? Or am I missing something?
ATB
Dave
Is anyone else seeing this? Or am I missing something?
ATB
Dave
- Wed Oct 25, 2023 1:06 pm
- Forum: Coding Questions
- Topic: Adding item in SubMenu closed [Resolved]
- Replies: 13
- Views: 1992
Re: Adding item in SubMenu closed [Resolved]
Normeus :
Thanks for that. Everything I needed and now, after a bit of fiddling, it's working fine. :D
I don't often use these API functions - and I hate to include code that I don't understand - so, for reference, could you explain the constant terms in your solution and/or tell me where such ...
Thanks for that. Everything I needed and now, after a bit of fiddling, it's working fine. :D
I don't often use these API functions - and I hate to include code that I don't understand - so, for reference, could you explain the constant terms in your solution and/or tell me where such ...
- Tue Oct 24, 2023 7:29 pm
- Forum: Coding Questions
- Topic: Adding item in SubMenu closed [Resolved]
- Replies: 13
- Views: 1992
Re: Adding item in SubMenu closed [Resolved]
AZJIO:
You can attach one menu to another and only update one attached menu.
Thanks for the response but it doesn't seem to help much. My understanding of the way Windows does things is practically negative.
What I'm trying to do is insert a variable number (1 to 20) of items dynamically into a ...
You can attach one menu to another and only update one attached menu.
Thanks for the response but it doesn't seem to help much. My understanding of the way Windows does things is practically negative.
What I'm trying to do is insert a variable number (1 to 20) of items dynamically into a ...
- Tue Oct 24, 2023 2:38 pm
- Forum: Coding Questions
- Topic: Adding item in SubMenu closed [Resolved]
- Replies: 13
- Views: 1992
Re: Adding item in SubMenu closed [Resolved]
RASHAD:
Your code shown earlier has helped a lot with my latest Windows-based problems. I can now insert and remove submenu items successfully but a problem remains...
Given the line (say) "InsertMenu_(hSubmenu_2,5,#MF_BYPOSITION|#MF_POPUP,hSubmenu,"Title_2")"
How do I find the associated ID of ...
Your code shown earlier has helped a lot with my latest Windows-based problems. I can now insert and remove submenu items successfully but a problem remains...
Given the line (say) "InsertMenu_(hSubmenu_2,5,#MF_BYPOSITION|#MF_POPUP,hSubmenu,"Title_2")"
How do I find the associated ID of ...
- Sat Sep 23, 2023 9:33 am
- Forum: Linux
- Topic: ImageResize()
- Replies: 5
- Views: 2624
Re: ImageResize()
You are using a canvas to show the image ?
Draw the Image directly on it....
If there is a bug in ResizeImage... you can try : DrawImage(ImageID, x, y, w, h) to resize it on the Canvas direct....
Cheers Bisonte, that's exactly the workaround that I needed.
For reference, this works on all ...
- Fri Sep 22, 2023 8:34 pm
- Forum: Linux
- Topic: ImageResize()
- Replies: 5
- Views: 2624
Re: ImageResize()
I've just noticed that ResizeImage() doesn't work although it was reported as a possible bug way back in 2004. ResizeImage() works as expected on both MacOS and Windows.
I'm using PB 6.01 on Ubuntu 20.04
Is there any chance of a fix or could someone suggest a workaround?
If OpenWindow(0, 0, 0 ...
I'm using PB 6.01 on Ubuntu 20.04
Is there any chance of a fix or could someone suggest a workaround?
If OpenWindow(0, 0, 0 ...
- Tue Mar 14, 2023 8:28 am
- Forum: Mac OSX
- Topic: Is it possible to prevent ListViewGadget Scrolling?
- Replies: 2
- Views: 682
Re: Is it possible to prevent ListViewGadget Scrolling?
Many thanks wombats. That works for me.
Dave

Dave
- Sun Mar 12, 2023 1:59 pm
- Forum: Mac OSX
- Topic: Is it possible to prevent ListViewGadget Scrolling?
- Replies: 2
- Views: 682
Is it possible to prevent ListViewGadget Scrolling?
With the ListViewGadget, is it possible to prevent horizontal scrolling?
I know how to hide the scrollbar but it's all too easy to inadvertently scroll sideways with a trackpad or Magic Mouse and this gives me problems when displaying a table.
Dave
I know how to hide the scrollbar but it's all too easy to inadvertently scroll sideways with a trackpad or Magic Mouse and this gives me problems when displaying a table.
Dave
- Sun Feb 05, 2023 7:13 pm
- Forum: Coding Questions
- Topic: Colouring the static-field in an un-editable ComboBox
- Replies: 13
- Views: 6014
Re: Colouring the static-field in an un-editable ComboBox
An old thread but ...
Is it possible to set the foreground and/or background colours of a ComboBoxGadget?
This is not usually a problem but on one of my apps (and in Dark-Mode) I get a white foreground on a white background!
{edit:] this is on macOS. I should have mentioned that.
Dave
Is it possible to set the foreground and/or background colours of a ComboBoxGadget?
This is not usually a problem but on one of my apps (and in Dark-Mode) I get a white foreground on a white background!
{edit:] this is on macOS. I should have mentioned that.

Dave
- Sun Dec 18, 2022 4:41 pm
- Forum: Linux
- Topic: Ignoring Dark Mode
- Replies: 8
- Views: 1465
Re: Ignoring Dark Mode
Thanks for that mk-soft but it doesn't seem to be working on my Ubuntu 20.04 setup.
If the system dark-mode is off the the buttons toggle the app's mode between dark and light as expected.
However, if the system's dark-mode is on then the buttons do nothing (i.e., the dark-mode remains on).
Any ideas?
If the system dark-mode is off the the buttons toggle the app's mode between dark and light as expected.
However, if the system's dark-mode is on then the buttons do nothing (i.e., the dark-mode remains on).
Any ideas?
- Thu Nov 17, 2022 11:12 pm
- Forum: Linux
- Topic: Ignoring Dark Mode
- Replies: 8
- Views: 1465
Re: Ignoring Dark Mode
Nice. Very nice.
Thanks for that.

Thanks for that.
- Thu Nov 17, 2022 10:27 pm
- Forum: Linux
- Topic: Ignoring Dark Mode
- Replies: 8
- Views: 1465
Re: Ignoring Dark Mode
mk-soft,
Thanks for the swift response.
You may have misread my first post. I'm not trying to apply Dark Mode globally, I'm trying to ignore Dark Mode locally!
I just removed the "Debug" reference and changed the
"*Theme = UTF8(ThemeName + "-dark ")" line
to
"*Theme = UTF8(ThemeName + " -light ...
Thanks for the swift response.
You may have misread my first post. I'm not trying to apply Dark Mode globally, I'm trying to ignore Dark Mode locally!
I just removed the "Debug" reference and changed the
"*Theme = UTF8(ThemeName + "-dark ")" line
to
"*Theme = UTF8(ThemeName + " -light ...
- Thu Nov 17, 2022 7:21 pm
- Forum: Linux
- Topic: Ignoring Dark Mode
- Replies: 8
- Views: 1465
Ignoring Dark Mode
I have an app that runs on Windows, macOS and Linux.
Unfortunately, neither the macOS nor the Linux versions play well with Dark Mode.
I've found out how to disable/ignore Dark Mode in macOS but does anyone know of a solution for Linux (Ubuntu)?
Unfortunately, neither the macOS nor the Linux versions play well with Dark Mode.

I've found out how to disable/ignore Dark Mode in macOS but does anyone know of a solution for Linux (Ubuntu)?
- Mon Aug 13, 2018 10:25 am
- Forum: Linux
- Topic: Transparent window in linux
- Replies: 21
- Views: 9663
Re: Transparent window in linux
Unfortunately the situation is complicated regarding the many different Linux distributions and desktop environments. I have tested my last example on 12 different Linux distributions:
Distribution Desktop GTK2 GTK3
Bodhi Linux 4.5.0 Moksha - -
Fedora 27 x86 Gnome 3 Error -
Yeah, I appreciate ...
Distribution Desktop GTK2 GTK3
Bodhi Linux 4.5.0 Moksha - -
Fedora 27 x86 Gnome 3 Error -
Yeah, I appreciate ...