I am trying to set the location of a shaped form to be relative to a specific control on the calling form, however when i change the location before the "ShowDialog()" it doesn't actually move the form.
regardless of the cords that i put in, the shaped form opens in the same spot.
Thanks!
1 Answer, 1 is accepted
0
Nikolay
Telerik team
answered on 02 Aug 2010, 10:01 AM
Hi Phillip Foster,
In order to achieve the desired behavior, you should set the StartPosition property to Manual:
ShapedForm f = newShapedForm();
f.Location = newPoint(500, 500);
f.StartPosition = FormStartPosition.Manual;
f.ShowDialog();
I hope this helps. If you have additional questions, feel free to contact us.
Best wishes,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items