Hi All,
I've created an ActiveX with a MSFlexGrid inside. I would like to transfer the value in the property ToolTipText (from the control, putted there as default for Visual Basic 6), to the MSFlexGrid ToolTipText property.
I've tried to do like the code below, but doesn't work. How can I do that ???
In UserControl_ReadProperties
MSFlexGrid1.ToolTipText = PropBag.ReadProperty("ToolTipText", "")
In UserControl_WriteProperties
Call PropBag.WriteProperty("ToolTipText", MSFlexGrid1.ToolTipText, "")
Creation of the Properties:
Public Property Get ToolTipText() As String
ToolTipText = MSFlexGrid1.ToolTipText
End Property
Public Property Let ToolTipText(ByVal New_Text As String)
MSFlexGrid1.ToolTipText = New_Text
PropertyChanged "ToolTipText"
End Property
Thanks
Nilson
I've created an ActiveX with a MSFlexGrid inside. I would like to transfer the value in the property ToolTipText (from the control, putted there as default for Visual Basic 6), to the MSFlexGrid ToolTipText property.
I've tried to do like the code below, but doesn't work. How can I do that ???
In UserControl_ReadProperties
MSFlexGrid1.ToolTipText = PropBag.ReadProperty("ToolTipText", "")
In UserControl_WriteProperties
Call PropBag.WriteProperty("ToolTipText", MSFlexGrid1.ToolTipText, "")
Creation of the Properties:
Public Property Get ToolTipText() As String
ToolTipText = MSFlexGrid1.ToolTipText
End Property
Public Property Let ToolTipText(ByVal New_Text As String)
MSFlexGrid1.ToolTipText = New_Text
PropertyChanged "ToolTipText"
End Property
Thanks
Nilson