ckai Posted January 17, 2012 Posted January 17, 2012 We've been living with this for a few months now, but it's just starting to bug me (it makes things like unprofessional). When using "Show Custom Dialog" the dialog pops up towards the right top of the window (not the screen). I have a custom function that centers the window and I think ever since I did that the system dialogs are way off. They always appear at the same position, pretty much at the top right corner. All my "pop ups" that are created appear right in the center of the window. How is the position of the Custom Dialogs determined and can I "reset" it? Or am I going to have to change something I've scripted to do with the window position? Thanks all.
LaRetta Posted January 17, 2012 Posted January 17, 2012 Hi ckai, Edit > Preferences > General tab > Reset dialog sizes and positions I do not believe that it can be scripted to reset. I usually create windows for custom dialog or use plug-in such as Troi.
Vaughan Posted January 17, 2012 Posted January 17, 2012 The position of the custom dialogs are under the control of the end user, not the developer.
doughemi Posted January 17, 2012 Posted January 17, 2012 The position and size of custom dialogs (in FM 10, at least) are saved from the previous position. If you manually move the custom dialog, the next time it is opened, it will open in the new position. The position and size are stored globally. All custom dialogs in the solution will be the same position and size.
ckai Posted January 17, 2012 Author Posted January 17, 2012 Hi ckai, Edit > Preferences > General tab > Reset dialog sizes and positions I do not believe that it can be scripted to reset. I usually create windows for custom dialog or use plug-in such as Troi. Awesome, this is good to know. Worked a treat. I have no idea how they ended up over there but at least I know how to sort it quickly thanks. I do use a dialog plugin for some but I find the standard script step is enough for me in most cases. The position of the custom dialogs are under the control of the end user, not the developer. Yeah, I did think this was the case. The position and size of custom dialogs (in FM 10, at least) are saved from the previous position. If you manually move the custom dialog, the next time it is opened, it will open in the new position. The position and size are stored globally. All custom dialogs in the solution will be the same position and size. Now this is good to know as well. After resetting them (as above) they weren't in exactly the position I'd like. Moved, and now spot on. I'd say during me doing some playing around I've moved a dialog box and it's obviously stayed there because of this feature. Thanks everyone. Another crisis (and more excessive drinking) averted thanks to FM Forums :laugh2:
Recommended Posts
This topic is 4694 days old. Please don't post here. Open a new topic instead.
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 accountSign in
Already have an account? Sign in here.
Sign In Now