?
Solved

D3: ComboBoxes and Buttons seem to be transparent now

Posted on 1997-06-13
3
Medium Priority
?
282 Views
Last Modified: 2010-04-04
In D3 the painting of the form seems to be very different from D2.
My application uses a lot of tables and it sometimes takes a little while before all the tables are open and the form is finally painted. While the form is painted D3 leaves the space where my ComboBoxes and Buttons are supposed to appear empty.
This is not very handy since you can see the underlying application in this empty place. Only when the form is finished with painting the ComboBoxes and the Buttons will be properly painted.

Is this a D3 bug or is there a way to get D3 to do it like D2 ???
0
Comment
Question by:MHolz
[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
3 Comments
 
LVL 1

Expert Comment

by:miv
ID: 1337023
The painting in D3 IS different from D2. Not much to do about it...
0
 
LVL 1

Expert Comment

by:Gabor
ID: 1337024
You can use the Update method of controls to paint it directly before you open the tables.
0
 
LVL 2

Accepted Solution

by:
icampbe1 earned 200 total points
ID: 1337025
Don't even show the main form until all is ready.

In the .dpr file, put:  Application.ShowMainForm := FALSE;  before the form create (also, create the main form last, this ensures that all else is created and ready).  Then, you can 'Show' the main form.

Note:  While all of this is happening is a good time to show a splash panel or something..

Cheers.
Ian C.


0

Featured Post

Independent Software Vendors: 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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

743 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