Completed
Last Updated: 14 Sep 2017 09:40 by Chian Yuh
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 08 May 2017 08:09
Category: Form
Type: Bug Report
2
FIX. RadMessageBox - incorrect position when showing and an auto-hide window is displayed
Workaround:
 Sub New()

     InitializeComponent()

     AddHandler RadMessageBox.Instance.LocationChanged, AddressOf MsgLocationChanged
 End Sub
 Private Sub RadTreeView1_NodeMouseClick(sender As Object, e As Telerik.WinControls.UI.RadTreeViewEventArgs) Handles RadTreeView1.NodeMouseClick
     If RadMessageBox.Show(Me, String.Format("Change Project to {0}{1}{0}?", Chr(34), e.Node.Text), "Change Project", MessageBoxButtons.YesNo, _
                           RadMessageIcon.Question, MessageBoxDefaultButton.Button1) = Windows.Forms.DialogResult.Yes Then
     End If

 End Sub

 Private Sub MsgLocationChanged(sender As Object, e As EventArgs)
     RadMessageBox.Instance.Location = New Point(Me.Location.X + Me.Width / 2, Me.Location.Y + Me.Height / 2)
 End Sub

1 comment
Chian Yuh
Posted on: 14 Sep 2017 09:40
can please provide this source code in c#. thanks