We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

CaptionImage repaint on ImageMouseLeave event

Thread ID:





125306 Aug 7,2016 04:30 AM Aug 9,2016 06:54 AM Windows Forms 4
Tags: MetroForm
Asked On August 7, 2016 04:30 AM

Hi, I have installed some images in the caption area of the form, and apparently, when the ImageMouseLeave event is called and I perform a redraw the of the images, it seems to affect the controls having "long text" - 255 characters and over - which are blinking specifically when the mouse is leaving the bounds of these images. Here is the code I use to redraw the image

Private Sub image_ImageMouseLeave(sender As Object, e As ImageMouseLeaveEventArgs)
        If (sender.Name = "CaptionImage0") Then
            sender.backcolor = Color.Transparent
        ElseIf (sender.Name = "CaptionImage1") Then
            sender.backcolor = Color.Transparent
        ElseIf (sender.Name = "CaptionImage2") Then
            sender.backcolor = Color.Transparent
        ElseIf (sender.Name = "CaptionImage3") Then
            sender.backcolor = Color.Transparent
        End If
    End Sub

Thank you in advance! - Nicolas

Replied On August 7, 2016 04:40 AM

It happens as well in the image_ImageMouseEnter event. I have replicated this issue on the MetroForm program provided : Add a textbox on the form, set multiline to True, and add long text to it, you will see the blinking results when the mouse goes over the 3 CaptionImage at the right - Thanks! Nicolas

Venkateshwaran Ramdoss [Syncfusion]
Replied On August 8, 2016 02:38 PM

Hi Nicolas,

Thank you for conatcting Syncfusion Support.

We are unbale to reproduce the reported issue at our end. We have prepared a sample and it can be downloaded from the below link.

Sample: MetroformSample

Could you please provide more details about your query by modifying the sample to reproduce the reported issue and provide replication steps? It would help us to proceed further.

Venkateshwaran V.R.

Replied On August 8, 2016 03:55 PM

Hi Venkateshwaran, please find attached the MetroForm modified on the 2015 version where I added a textbox multiline. Just hover back and forth over the 3 caption images at the upper right side of the form. You should notice then that the text inside the textbox is flickering. Thanks in advance! - Nicolas

Attachment: CS_c36c444b.7z

Venkateshwaran Ramdoss [Syncfusion]
Replied On August 9, 2016 06:54 AM

Hi Nicolas,

Thanks for your update.

We are able to reproduce the reported issue and a support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates


Venkateshwaran V.R. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.