본문 바로가기
개발자 커뮤니티에 오신 것을 환영합니다!

기타 [vb.net] ToolTip

페이지 정보

profile_image
작성자 하나를하더라도최선을
댓글 0건 조회 43,312회 작성일 21-03-22 14:01

본문

    Private Sub SetToolTip(ByRef ctl As Control, ByVal caption As String)

        Dim toolTip1 As ToolTip = New ToolTip()

        toolTip1.AutoPopDelay = 5000

        toolTip1.InitialDelay = 100

        toolTip1.ReshowDelay = 500

        toolTip1.ShowAlways = True

        toolTip1.SetToolTip(ctl, caption)

    End Sub




        SetToolTip(Button7, "Print paper")

        SetToolTip(Button9, "Print wrong answers")

        SetToolTip(Button6, "Print answersheet")

        SetToolTip(Button1, "Insert anwersheet")

        SetToolTip(Button8, "ID search")

        SetToolTip(Button2, "History")

댓글목록

등록된 댓글이 없습니다.


Copyright © program1472 | IT HUB. All rights reserved.