Sign in to follow this  

(C#,PocketPC) Stopping control auto-snap to position

This topic is 4085 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to put some buttons closer together than the default snap-to distance in Visual Studio. With regular Windows forms, I can go into Tools->Options->Windows Form Designer->General and change the layout settings. This doesn't seem to have any effect on PocketPC forms. How do I turn off the snap-to-position feature in forms designer for PocketPC forms?

Share this post


Link to post
Share on other sites
If you look at the autoenerated function that initializes the controls, you will see the coordinates that they are positioned to. Modify those values as you see fit.

You should probably also check out the MSDN article titled Improving Microsoft .NET Compact Framework-based Application Form Load Performance. Once you get your layout set up the way you like it, revise the autogenerated code to cut the form load time by half.

Share this post


Link to post
Share on other sites

This topic is 4085 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this