Hello Jan,
Please refer to the code sample in VB:
Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
AddHandler RadMessageBox.Instance.Shown, AddressOf Instance_Shown
RadMessageBox.Show(Me, "Test")
End Sub
Private Sub Instance_Shown(ByVal sender As Object, ByVal e As EventArgs)
Dim form As RadMessageBoxForm = TryCast(sender, RadMessageBoxForm)
form.TopMost = True
End Sub
Feel free to use our online converter.
I hope this information helps. If you need further assistance do not hesitate to contact us.
Regards,
Nadya
Progress Telerik
Progress is here for your business, like always.
Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.