Ich finde nicht die Stelle, in der ich dem Steuerelement ToolTipp einen Text eingeben kann, der dann bei Mausberührung erscheint.
Danke für Antwort vom
Schüler
Danke für Antwort vom
Schüler
Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles MyBase.Load Dim toolTip1 As New ToolTip() toolTip1.AutoPopDelay = 5000 toolTip1.InitialDelay = 1000 toolTip1.ReshowDelay = 500 toolTip1.ShowAlways = True toolTip1.SetToolTip(Me.button1, "Mein Button 1") toolTip1.SetToolTip(Me.checkBox1, "Meine checkBox 1") End Sub
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Create the ToolTip and associate with the Form container. Dim toolTip1 As New ToolTip() ' Set up the delays for the ToolTip. toolTip1.AutoPopDelay = 5000 toolTip1.InitialDelay = 1000 toolTip1.ReshowDelay = 500 ' Force the ToolTip text to be displayed whether or not the form is active. toolTip1.ShowAlways = True ' Set up the ToolTip text for the Button and Checkbox. 'toolTip1.SetToolTip(Me.button1, "My button1") toolTip1.SetToolTip(Me.RadioButton1, "München") End Sub End Class
Comment