471,326 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

Application settings--form location and size

I'm having a problem getting design-time property binding to work with a
form's size and location properties.

I started with the Location property under Application Settings in the
Properties window. I added a new setting ("FormLocation") using the New
Application Setting dialog, and confirmed that the setting was created in
the project properties Designer window. But when I run my app and move its
form, the app doesn't remember the new location. When I restart the app, the
form opens in the original location.

Am I missing a step in binding the Location property to an application
setting? What do I need to do to get this working? Thanks in advance.

David Veeneman
Foresight Systems
Jan 19 '06 #1
1 1700
Found my answer-- settings have to be saved using Settings.Save(). I call
the method from the FormClosing event.

David Veeneman
Foresight Systems
Jan 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Wayne Aprato | last post: by
reply views Thread by StefanT | last post: by
14 posts views Thread by Galen Somerville | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.