473,473 Members | 2,155 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MDI Child form refreshes are horribly slow - any tips?

Hello,

I've been working on a rather large project that has an MDI form with
several child forms. Some of the child forms are rather complicated.
They have 1 or 2 data grids (component one true dbgrid.net) and
several other controls. Other forms do not have data grids, but are
suffering the same problems.

If a child form is moved after being loaded and displayed, it looks
horrible. The title bar can disapear, and several controls can be
drawn twice, overlapping others.

I've tried adding this code:

Application.Dovents()
me.refresh()
Application.Doevents()

.... to the Move() event of the forms, but this runs a little quirky as
well, and the improvement is only marginal.

I have read other posts suggesting that the Windows XP window ghosting
feature may be to blame, though I am testing on 2000 pro, so it's not
that.

The whole app runs much better on the dev machine. Actually, I am
developing on 2 machines with similar configurations (2.4 ghz / 512
RAM) and both of these run the app better in debug mode or release
mode than a machine with only the app and the framework installed.

Does anyone know of any secret-recipe to nice forms?

SS.
Nov 20 '05 #1
0 1166

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Stefan | last post by:
The following query gives me the right output, but takes almost 10 minutes to run... Any obvious things that I can improve on? I know this is diffuclt to do without realizign what I'm trying to...
3
by: Mark C | last post by:
I have a unbound form with a tab control with four tabs in an Access 97 database. On each tab I have a sub form each form on the sub forms is bound to its own table. Each table has a field that can...
4
by: tdmailbox | last post by:
I have form with subform that has a button(one in parent, one in the child) that calls the microsoft access find/replace object. In order to make it a find only object I need to set the...
1
by: tdmailbox | last post by:
Is there a way to use the built in access find/replace to search values in a child form accross multiple parent records. IE.. If have a parent form has a record for every baseball team with...
1
by: Bill Borg | last post by:
Hello all, Simple chat app, where the site owner has a master window with all requests for chat, status of each room, etc., and child windows for each separate chat in which the owner is...
1
by: Mr. B | last post by:
This may sound like a silly question... but I've not yet found how to do this 'simple' thing... You've the parent form (form1) and a child form. Now the Parent form has FORM1_LOAD which you...
1
by: wlevins | last post by:
I have a simple script which has worked flawlessly for years - it copies a bit of data from a child window down into a form field in the parent window that opened the child. But now in Firefox 2.0...
1
by: Andrew Hayes | last post by:
I have a parent page with a gridview, and a child page with a formview. Using the solution on velocityreviews: ...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.