marzo: 2010
L M M G V S D
« feb    
1234567
891011121314
15161718192021
22232425262728
293031  

.NET (VB08) Assegnare un tooltip ad un bottone

Independent Codes

Questo articolo fa parte del progetto Independent Codes
Per assegnare un tooltip ad un bottone, non dobbiamo fare altro che trascinare dalla toolbar un oggetto “tooltip” nel nostro form, quindi inserire il codice seguente:


Private Sub NOMEBOTTONE_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NOMEBOTTONE.MouseHover
ToolTip1.SetToolTip(NOMEBOTTONE, "testo del tooltip")
End Sub

Bookmark and Share

Lascia un comento

 

 

 

Puoi usare questi tag

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>