• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

Manifest file

I have a delphi 7 application, and a corresponding manifest file.

On my mainform, I have our company logo display.
When I call up a forms with loads of components on (an mdichild) the company logo displays in places while the form is displaying, then disappears.

Is there a way to prevent this.

I have tried setting parentbackground to false for the form, but it doesn't seem to have any effect
in prevently the logo from temporarily becoming visible.
0
junebrown
Asked:
junebrown
1 Solution
 
Stuart_JohnsonCommented:
How is the company logo being displayed?  It it inside a TImage, or are you drawing it directly to the canvas?
0
 
junebrownAuthor Commented:
It is in a timage
0
 
atul_parmarCommented:
Make that TImage component invisible. i.e.   Image1.Visible := False;
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
junebrownAuthor Commented:
doesn't have any effect.
tcheckbox are 10 times worse than other components.
0
 
Stuart_JohnsonCommented:
Any chance you can post the EXE for us to look at?  In 10 years of using Delphi, I've never heard of this happening before.
0
 
junebrownAuthor Commented:
I would have to send all the database as well, and that isn't practical.
0
 
Stuart_JohnsonCommented:
How about a couple of screen dumps then?  Capture with and without the problem.
0
 
Slick812Commented:
hello junebrown, , I am just guessing, since you do not give much code information, but I would guess that in your form's OnCreate event (or maybe more than one form), that you are going some start up code that takes a while (more than 100 ms), so you have a kind of "False Start" for the view of forms while the start up code is executed. . Some have found that Hiding (visible = false) the form untill ALL start up code is compleated will work, you may shoud have a App Loading Form show up while the data bases connect and load
0
 
junebrownAuthor Commented:
What I ended up doing putting the lowest level panel visible property to false, as the form was an mdichild (changing that visible didn't work) and just swtich the visible property of the panel over at last minute - brilliant.
0
 
Stuart_JohnsonCommented:
You can hide a MDI Child.  ShowWindow(FormName.Handle, SW_HIDE) and then ShowForm(FormName.Handle, SW_SHOW) will make it visible again.

Stu.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now