Cannot get Groups to show in a TsListView

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36528
    rcrandall
    Participant

    I have been trying on and off for weeks to get the Groups feature to show in AlphaControls 9.20. I can do it with a regular Delphi TListView but not with a TsListView. Has anyone got this working or can confirm that it doesn't work?

    This is a snippet of code that should work but does not:

    sListView1.Columns.Add.Caption := 'Test';

    lg := sListView1.Groups.Add;

    lg.Header := 'one';

    lg.GroupId := 0;

    li := sListView1.Items.Add;

    li.GroupID := 0;

    li.Caption := 'my item';

    The sListView has GroupView = True and ViewStyle = vsReport. This is under Delphi XE7.

    Any help would be much appreciated, thanks, Rob C

    #53442
    Zer0
    Participant

    Cannot try 9.20 now, but with last 10.05 beta your code works fine for me. In both TListView and TsListView groups are showing with enabled/disabled skins. Maybe you can try it?

    #53443
    rcrandall
    Participant

    Thank you for the speedy reply!

    I would try it in 10.0x but I have not been able to get it to install properly for me yet so I just revert back to 9.20. Let me try again with 10.05 and see what the installation problem under my copy of XE7 is again.

    Rob

    'Zer0' wrote:

    Cannot try 9.20 now, but with last 10.05 beta your code works fine for me. In both TListView and TsListView groups are showing with enabled/disabled skins. Maybe you can try it?

    #53450
    Support
    Keymaster

    Hello!

    I have checked this issue under the v10.05 – TsListView and TListView has an equal behavior there.

    If you have this trouble, upload here a small demo, please.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.