Just a simple question, at the minute my editform is opening on the side of the form. I'm just wondering if you can open it in the middle of the form automatically? I can't find option to do so.
Thank you in advance
use this :
Private Sub GridView1_EditFormPrepared(sender As Object, e As EditFormPreparedEventArgs) Handles GridView1.EditFormPrepared
TryCast(e.Panel.Parent, Form).StartPosition = FormStartPosition.CenterScreen
End Sub
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.