To help you better we need some information from you.
*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build: PowerShell Studio 2018 v5.5.150
32 or 64 bit version of product: 64 bit
Operating system: Win 10
32 or 64 bit OS: 64 bit
*** Please add details and screenshots as needed below. ***
ListView sub items don't seem to be showing in Tile view. sample form attached
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
ListView subitems not showing in Tile view
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
ListView subitems not showing in Tile view
- Attachments
-
- frmLvToolbox.psf
- (58.2 KiB) Downloaded 134 times
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: ListView subitems not showing in Tile view
[Topic moved by moderator]
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: ListView subitems not showing in Tile view
It appears you may have posted the wrong form as this form has no data and appears to have a random array of panels and other controls.
Post just a simple ListView showing the issue you wish help with.
Attached is an example of some of the ways to use a ListView
Post just a simple ListView showing the issue you wish help with.
Attached is an example of some of the ways to use a ListView
- Attachments
-
- Demo-ListViewIcons.psf
- (18.28 KiB) Downloaded 134 times
Re: ListView subitems not showing in Tile view
sorry about that this should have items and sub-items
- Attachments
-
- frmLvToolbox.psf
- (57.41 KiB) Downloaded 132 times
Re: ListView subitems not showing in Tile view
Are the items showing in the listview when you run the form? the items were built with the groups and items collection in the right panel in design mode. so there is no extra code and their shouldn't have to be. each item in the items collection has a single sub item that should be but is not showing. I would think those sub items should also be showing in design view.
Re: ListView subitems not showing in Tile view
The form you posted has NO code at all. It is just a form with a control.
Defining groups and items does not create a list. It just creates the template.
Defining groups and items does not create a list. It just creates the template.
Re: ListView subitems not showing in Tile view
Without columns you will not see subitems. In "Tile" view you will not see subitems. Add columns and switch to detail view to see all items and subitems.
- Attachments
-
- frmLvToolbox (1).psf
- (64.24 KiB) Downloaded 144 times
Re: ListView subitems not showing in Tile view
Unfortunately i'm not looking to use detail view. i'm trying to make grouped buttons for a lack of a better description. and this right out of Sapiens spotlight on the list view
It also states later on that if more then one sub-item exists only the first in the collection will display this is why each item only has one sub-item. As you can see in my initial screen shot the large image and main item show this is why I was reporting the first sub-item not showing as a possible bug. I reported a treeview bug a month or so back that they acknowledged and fixed so I thought this might also be an issue. That is also why i posted in the powershell studio forum and not the gui. The article mentions the value being ignored in OS's earlier then XP so I was assuming it would work in OS's later then XP. If that is a wrong assumption I apologize. I do appreciate and am grateful for the quick responses.
It also states later on that if more then one sub-item exists only the first in the collection will display this is why each item only has one sub-item. As you can see in my initial screen shot the large image and main item show this is why I was reporting the first sub-item not showing as a possible bug. I reported a treeview bug a month or so back that they acknowledged and fixed so I thought this might also be an issue. That is also why i posted in the powershell studio forum and not the gui. The article mentions the value being ignored in OS's earlier then XP so I was assuming it would work in OS's later then XP. If that is a wrong assumption I apologize. I do appreciate and am grateful for the quick responses.
Re: ListView subitems not showing in Tile view
The ListView is a very unmanageable control and I do not have any examples that do what you want. The behavior of the control is also very flakey if you mix different modes.
Tomorrow I will try to put together an example that may be helpful. I, personally, avoid the control because it seldom does what I need. Using a ListView as a menu can be done but it will not work as expected. As soon as you deviate from any example it will change modes and leave you confused.
Tomorrow I will try to put together an example that may be helpful. I, personally, avoid the control because it seldom does what I need. Using a ListView as a menu can be done but it will not work as expected. As soon as you deviate from any example it will change modes and leave you confused.