Hi,
I am with visuals studio 2019.
I have button custom control. And event click do not work. Breakpoint do not hit, code do not execute.
I am with the latest visej version – 2.5.18
What to do?
Public Class CButton_WhiteBorder_LightBlue
Inherits Button
Public Sub New()
Me.Font = New Font(Me.Font.Name, 17, FontStyle.Bold)
Me.Text = CLocalization.FStrings(InOStrObjectID)
Me.Name = InOStrObjectID
Me.Dock = DockStyle.None
Me.AutoSize = True
Me.BackColor = CColors.OCOlorLightBlue
Me.ForeColor = CColors.OCOlorWhite
Me.CssStyle = “border:1px solid rgb(255,255,255)”
Me.TextAlign = ContentAlignment.MiddleCenter
End Sub
Private Sub CButton_WhiteBorder_LightBlue_Click(sender As Object, e As EventArgs) Handles Me.Click
‘do not works
End Sub
End Class
Hi Luca,
It is from the browser. Google chrome. I changed to EDGE and events are fine.
Thank you and sorry for the time you spend on this case.
It do not fire events and in VS2015.
It worked fine a month ago.
What it can be and what I can do for that?
Thank you!
Checking your sample, the button event fire ok. but there are a bug on your side in this line in the pic
HTH, regards
Thank you!
Please find the project attached
Cannot reproduce. If you attach a small runnable test case that shows the issue we can see what’s wrong with the code.
Please login first to submit.