954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Show a form at the center of the screen

Hi! I m trying to open a filter form at the center of a form which is inside the panel 2 of a split container.. I ve selected Start Position of the filter form => Center Screen but the problem is that when I push the button which opens the filter form for the first time the form appears at the upper left corner of the panel 2.. next time I open the form it appears at the center.. could you pls help me?
thnx in advance!

skran
Light Poster
43 posts since Nov 2011
Reputation Points: 19
Solved Threads: 2
 

Have you tried setting the start position to centerParent?

Netcode
Veteran Poster
1,021 posts since Jun 2009
Reputation Points: 43
Solved Threads: 67
 

I cant make the form (say it form1, the form which open the filter form) mdi parent because it is a form which appears in a panel of a split container and it said that i cant make a control, like the mdi parent, member of an the split container control.. I try to find a wayt to do so but i didn t achieve it yet

skran
Light Poster
43 posts since Nov 2011
Reputation Points: 19
Solved Threads: 2
 

this is the interface

skran
Light Poster
43 posts since Nov 2011
Reputation Points: 19
Solved Threads: 2
 

I solved by canging the Location Property and it works fine..

skran
Light Poster
43 posts since Nov 2011
Reputation Points: 19
Solved Threads: 2
 

weldone!

Netcode
Veteran Poster
1,021 posts since Jun 2009
Reputation Points: 43
Solved Threads: 67
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: