Results 1 to 2 of 2

Thread: Hover on Disabled checkbox control

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2004
    Location
    Vancouver, BC, Canada
    Posts
    23

    Hover on Disabled checkbox control

    How do you set hover for disabled checkboxes ?

    I have 46 check boxes that are enabled.
    Based on criteria I have disabled some check boxes.

    The chkboxes that are enabled I can hover over and get info from.
    The disabled chkboxes I can not hover over.

    Is there any way to disable or readonly these chkboxes so I can STILL get focus to them

    Code:
    'This puts focus to check box I hover over
    'Now I can right click and have context menu
    'But if check box is already selected, it is disabled and THIS HOVER DOES NOT WORK
    Private Sub chkSet01_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) _
        Handles chkSet01.MouseEnter, chkSet02.MouseEnter '...46
        CType(sender, CheckBox).Focus()
    End Sub
    Thanks in advance

  2. #2
    Addicted Member
    Join Date
    Sep 2004
    Location
    Brooklyn
    Posts
    147
    I don't know, but you could put a borderless panel behind each button and trigger the Sub when they hover over that ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width