none
Checkbox on custom contact form works slower in Outlook 2016 64-bit RRS feed

  • Question

  • After updating Outlook 365 Pro Plus 64-bit to Outlook 2016 64-bit checkbox on custom contact form works slower. Checkbox is used for selecting mailing address. When checkbox is set it's text is filled with color and frame is "painted". What is the reason of slow work in Outlook 2016 64-bit?

    Const ButtonFace = &H8000000F
    Const ButtonShadow = &H80000010
    
    Sub chkHome_Click
      If chkHome.Value = True Then
        chkHome.BackColor = CheckColor
        HomeFrame.BorderColor = ButtonShadow
        chkWork.Value = False
        If Item.SelectedMailingAddress <> olHome Then
          Item.SelectedMailingAddress = olHome    
        End If
      Else
        HideSelection olHome
        If Not chkWork.Value Then 'галочка рабочего адреса снята
          Item.SelectedMailingAddress = olNone
        End If
      End If
    End Sub
    
    Function CheckColor
      CheckColor = RGB(224, 248, 146)
    End Function
    
    Sub HideSelection(olAddress)
      Select Case olAddress
        Case olHome
          chkHome.BackColor = ButtonFace
          HomeFrame.BorderColor = ButtonFace
        Case olBusiness
          chkWork.BackColor = ButtonFace
          WorkFrame.BorderColor = ButtonFace
      End Select
    End Sub

    Sunday, March 20, 2016 6:20 AM

All replies

  • Hello,

    Which line of code exactly slows down the performance? Are you able to reproduce the issue with a clean form which contains only the check box control?

    Sunday, March 20, 2016 9:26 AM
  • Hi artnib,

    According to your description, if you recreate custom contact form with checkbox in Outlook 2016 64bit, could you reproduce this issue?

    Thanks for your understanding.
    Wednesday, October 19, 2016 8:40 AM