Recent

Author Topic: Unwanted maximized dialogs <Solved>  (Read 2245 times)

Davo

  • Full Member
  • ***
  • Posts: 134
Unwanted maximized dialogs <Solved>
« on: October 24, 2012, 02:32:22 pm »
After some months of development without problem in this respect one of my projects has started to behave strangely in that when the application is running and either the single OpenDialog control or the single SaveDialog control is activated the resulting Open File or Save File window is displayed maximized and cannot be resized down. No setting in the Object Inspector seems to be relevant. And in any case no setting has been changed recently. If I create a small test application with just one button and an OpenDialog control and include just “OpenDialog1.execute” in the button's on-click event handler all works just fine. The Open File window that shows is not maximized. So the problem does not seem to be with my computer's general settings. Therefore I conclude that it is somehow caused by the application. But so far I have not been able to pin down the reason. I cannot find any relevant setting in Project Options or in Environment Options.

Any suggestions?
« Last Edit: October 24, 2012, 02:52:22 pm by Davo »

KpjComp

  • Hero Member
  • *****
  • Posts: 680
Re: Unwanted maximized dialogs
« Reply #1 on: October 24, 2012, 02:42:02 pm »
If this is Windows, it will remember the position size for each EXE.  So if you resize this window again then it should remember again.  Just double click the titlebar to take out of Maximized mode.

Davo

  • Full Member
  • ***
  • Posts: 134
Re: Unwanted maximized dialogs <SOLVED>
« Reply #2 on: October 24, 2012, 02:51:32 pm »
Thanks KpjComp. Yet again you have come to the rescue.

Most appreciative.

 

TinyPortal © 2005-2018