Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Property Grid
  New Posts New Posts RSS Feed - All checkboxes in one line
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

All checkboxes in one line

 Post Reply Post Reply
Author
Message
wimpie3 View Drop Down
Newbie
Newbie


Joined: 04 June 2020
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote wimpie3 Quote  Post ReplyReply Direct Link To This Post Topic: All checkboxes in one line
    Posted: 11 August 2020 at 10:46am
I'm trying to make a list with checkboxes (in vb.net):

        itemOption = CType(Category.AddChildItem(PropertyItemType.PropertyItemOption, "Status", 1), PropertyGridItemOption)
        itemOption.CheckBoxStyle = True
        itemOption.Constraints.Add("C4", 1)
        itemOption.Constraints.Add("C5", 2)
        itemOption.Constraints.Add("C6", 4)

When I run my program, all the checkboxes are put on one line, despite using AxPropertyGrid1.VariableItemsHeight = True



What can be done about this?
Back to Top
wimpie3 View Drop Down
Newbie
Newbie


Joined: 04 June 2020
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote wimpie3 Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2020 at 11:25am
Update: this seems to happen only when the checkboxes are on the last line of the grid.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.