This is a migrated thread and some comments may be shown as answers.

Form behavior

2 Answers 96 Views
Form
This is a migrated thread and some comments may be shown as answers.
Dev
Top achievements
Rank 1
Veteran
Dev asked on 03 Jul 2019, 10:38 AM

Hi,

     We open a new form through showdialog() from an existing form & trying to open another form by clicking the button from it & the showdialog (2nd form) will be closed. The form which opens on the click of the button(3rd form) hides behind the 1st form. Attached the demo link for your reference. Please check and share your inputs.

Demo Link : https://drive.google.com/file/d/1RRJjmiMu1gwE-E-IwrTlKgyEGit-LNfN/view?usp=sharing

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 04 Jul 2019, 08:28 AM
Hello Rick,

You can call the BringToFront method when the third form is shown:
Public Class RadForm3
    Protected Overrides Sub OnShown(e As EventArgs)
        MyBase.OnShown(e)
        Me.BringToFront()
 
    End Sub
End Class

Should you have other questions, I would be glad to help.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Dev
Top achievements
Rank 1
Veteran
answered on 04 Jul 2019, 11:04 AM

Hi Dimitar,

    Thank you for your assistance, it works well.

Tags
Form
Asked by
Dev
Top achievements
Rank 1
Veteran
Answers by
Dimitar
Telerik team
Dev
Top achievements
Rank 1
Veteran
Share this question
or