I create properties like
Property GotFocusBackColor() As Color
Get
Return TGotFocusBack
End Get
Set(ByVal value As Color)
TGotFocusBack = value
End Set
End Property
Property GotFocusForeColor() As Color
Get
Return TGotFocusText
End Get
Set(ByVal value As Color)
TGotFocusText = value
End Set
End Property
Now I want to Add them to a group
For Example :
Font is a Group
and FontName, FontSize, etc... are its properties
I mean I want to show them like font Group in PropertyGrid of a textbox
and one more problem:
1) Suppose I have a Boolean Property viz. ChangeColors
2) If ChangeColors = True Then
Show Other two Properties viz. BackColor & Forecolor
Else
Hide Other two properties viz. BackColor & Forecolor
End If
I want to implement this in code but dont know how???????????
Thanks in advance

New Topic/Question
Reply




MultiQuote




|