| Visual Basic (Declaration) | |
|---|---|
Public Sub SetdbiTipsText( _ ByVal control As System.Windows.Forms.Control, _ ByVal value As System.String _ ) | |
Parameters
- control
- The control the tooltip is associated with
- value
- The text value to assign to the control in the tooltip.
You can use an image in the text of the dbiTipsText by using an image list with the ImageList Property and setting the ImageInText Property to True. You can then include the image index in the body text as a semi-colon delimeted value. Me.DbicTips1.SetdbiTipsText(Me.ListBox1, "0;This is the ListBox")
This method will attach a control to the tooltip object. This can be done at design-time using the control.dbiTipsText on dbicTips property that is extended through the designer.