Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 01-25-2001, 03:08 AM
venx_76 venx_76 is offline
Junior Member
Join Date: Jan 2001
Posts: 1
Default MDI Application Glitches


I am a beginner trying to develop an MDI application. I have several child forms and all the child forms have their minimize and maximize buttons false (biMinimize=false and bimaximize=false). The child forms have been set to wsMaximized(Window State). The problems I face are as follows:

1) Only one of the child windows opens in the maximized state (that too only once) when I call the form from a relevant menu of the MDI parent. The window first opens with the design time size and then later gets maximized (this causes a flicker while the form comes on to the screen).

2) The other forms are in the same size as their design time size and not appearing in the maximized size.

3) The forms go back to the design time size when I switch from one child form to another child form. (this should'nt happen).

what is the remedy for these problems. I would be greatful to you if you can show me how to overcome these problems with the code as i am totally fresh to Delphi.

Thanking you once again in advance.

Reply With Quote
Old 01-25-2001, 08:38 AM
Zeno Zeno is offline
Junior Member
Join Date: Jan 2001
Posts: 29
Default RE: MDI Application

I am not quite sure, but you can do something with the TForm.Position property (or at least i hope it is called Position) - it has got values like ScreenCenter, DesktopCenter or Designed, etc... You have got it probaly on Designed (the default I think) so try to switch it to something else, maybe PosOnly.
PS: The MDI is not recomended to use even for experienced devlopers.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 12:22 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.