Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MDI Application

Posted on 1998-05-19
4
Medium Priority
?
200 Views
Last Modified: 2010-04-06
hi

In an MDI application, i want to create a child in the maximised state. i have done so by creating a child form and setting it's window state property to wsMaximized

this works well, but whenever i create the form, ie

  ChildForm := TChildForm.Create(Application);

it appears in a default size, then maximises.

is there anyway of displaying the child form directly in a maximised state, ie i don't want to see it maximising on the screen, but appear maximised when it is created.

Keith
0
Comment
Question by:keithcsl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Author Comment

by:keithcsl
ID: 1346255
Edited text of question
0
 
LVL 1

Expert Comment

by:pjdb
ID: 1346256
If it's a problem of showing duration, you create it hidden and then make it visible

JDB
0
 

Accepted Solution

by:
jhunt earned 120 total points
ID: 1346257
Before you create the from:
LockWindowUpdate(ClientHandle);

After the form is crated and all handling is done
(file open etc..) then release the lock by:

LockWindowUpdate(0);

0
 
LVL 1

Author Comment

by:keithcsl
ID: 1346258
pjdb,
thanks for the comment. however, an MDI child form cannot be made not visible.

jhunt
thanks for the help...

regards
Keith
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question