[Modules] ListEx (all OS / DPI)
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Update:
DPI adjustment & Bugfixes
@Paul
Please test it. It works with DPI 175% !?!
DPI adjustment & Bugfixes
@Paul
Please test it. It works with DPI 175% !?!
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
Sorry, still has bugs.Thorsten1867 wrote: ↑Sat May 14, 2022 10:38 am Update:
DPI adjustment & Bugfixes
@Paul
Please test it. It works with DPI 175% !?!
Bottom scrollbar doesn't really work and boxes can be selected by clicking on scrollbar. Also selection is messed up if columns are resized and size scrollbar is moved.
I PM'd you a video.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Bugfixes: Resizing Gadget & Scrollbars
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Update: Scrollbar buttons scroll line-by-line or column-by-column
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Bugfix: Resize Column
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Update:
Combinable function examples:
- several bugfixes
- Examples completely revised and more clearly arranged
Code: Select all
- Numbering in column 0
- Checkboxes in column 0
- Checkboxes (#ThreeState)
- Without row header
- Change column width with the mouse (resizes the table width)
- Adjust column width with the mouse (without changing the table width)
- Edit with a single click
- Multiple selection for rows
- Automatically adjust row height
Code: Select all
- Customise header
- Customise columns
- Change list fonts
- Change list colors
- Use a color theme
- Use images
- Change row height
- Set the focus on a row
- Change the status of checkboxes (needs example 2)
- Sort column with a click on the header
- Column with progress bar
- Maximum number of characters for editable cells
- Format content
- Mark content in accordance With certain rules
- Allow only valid entries when editing
- Horizontal scrollbar
- Add pop-up menu
- Hide a column
- Tooltips for columns
- Adjust column width when resizing
- Change resizing
- Export table content as CSV
- Use Markdown as text (needs 'MarkdownModule.pbi')
- Use GUI theme (needs 'ModuleEx.pbi')
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
Sorry but nothing seems to have changed from the videos I sent you earlier.
There are still DPI issues
1. Example 4 allows you to change column width. As soon as the column width is changed and the sliders are moved, everything is out of alignment.
2. You can mess everything up by simply making the Window smaller, move the sliders, then try and click on a cell.
3. When releasing the mouse button after using a slider, the slider also seem to 'stick' to the mouse pointer as if you have not released the mouse button.
4. Once the Window is resized or column sizes are changed, the horizontal slider is unable to show the entire table when sliding to the right.
Here is another video demonstrating the issues...
https://youtu.be/oT41urMXxk8
There are still DPI issues
1. Example 4 allows you to change column width. As soon as the column width is changed and the sliders are moved, everything is out of alignment.
2. You can mess everything up by simply making the Window smaller, move the sliders, then try and click on a cell.
3. When releasing the mouse button after using a slider, the slider also seem to 'stick' to the mouse pointer as if you have not released the mouse button.
4. Once the Window is resized or column sizes are changed, the horizontal slider is unable to show the entire table when sliding to the right.
Here is another video demonstrating the issues...
https://youtu.be/oT41urMXxk8
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
I'm sorry, but I can't relate to most of the problems with my computer. I have tried some of the procedures described and it worked.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
Looking through ...
Download of PureBasic - Modules
Download of PureBasic - Programs
I find that ListEx hasn't changed since May 12th
Perhaps you didn't update the file
Download of PureBasic - Modules
Download of PureBasic - Programs
I find that ListEx hasn't changed since May 12th
Perhaps you didn't update the file
- It was too lonely at the top.
System : PB 6.10 Beta 7 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
System : PB 6.10 Beta 7 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Re: [Modules] ListEx (all OS / DPI)
Are you testing with a 4K monitor?Thorsten1867 wrote: ↑Mon May 23, 2022 4:11 pmI'm sorry, but I can't relate to most of the problems with my computer. I have tried some of the procedures described and it worked.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Resolution: 1920x1080
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
1920x1080 would be just an HD monitor.
If you are not using a 4K monitor then you won't be getting the high DPI that comes with it (and where DPI Aware is most needed).
4K monitor would give resolutions of 3840x2160 or higher.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
I use these PB functions, which actually also output the appropriate values on 4K?!?
Code: Select all
DesktopScaledX()
DesktopScaledX()
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
Yes those PB commands work on a 4K monitor but there seems to be issues with how you calculate positions and offsets and I guess you are not going to see them without using a high DPI 4K monitor. The issues I recorded in the video are on a 4K monitor 3840x2160 with 100% scaling but they appear the same at 150% or 175% as well.Thorsten1867 wrote: ↑Mon May 23, 2022 4:43 pm I use these PB functions, which actually also output the appropriate values on 4K?!?Code: Select all
DesktopScaledX() DesktopScaledX()