Feature Request for Property Grid |
Post Reply |
Author | |
PeterG
Newbie Joined: 24 February 2010 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 24 February 2010 at 6:53pm |
A feature I would really like to have is the ability to have a check box item and be able to display one of two text messages to the right of the check box, one for True (when the box is checked) and another for False (when unchecked). The text would change depending on whether the box was checked or not.
In case this is already possible, please let me know how to accomplish this miraculous feat. |
|
Product: ActiveX PropertyGrid Version 15.0.2
Product: ActiveX Calendar Version 15.0.2 Platform: Windows Vista Business (32bit) Language: Clarion 7.3 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
If you are desperate...
Just change the PropertyItemBool into PropertyItemOption:
Set Item = Category.AddChildItem(PropertyItemOption, "Checkbox", 0)
Item.Constraints.Add "False", 1 'Have only ONE OptionButton as a PropertyGridItem Item.CheckBoxStyle = True 'Still show the checkbox as a PropertyGriditem to test this:
Private Sub wndProperty_ValueChanged(ByVal Item As XtremePropertyGrid.IPropertyGridItem)
Me.wndPropertyGridFiles.FindItem("Checkbox").Constraints(1).Caption = IIf(Item.Value, "True", "False") End Sub |
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |