Hello,
In my application I am trying to load up some forms, however the loading of the forms is causing a lot of flickering. Are there any commands that can stop showing the repainting of the forms and thus make for a smoother running application.
mdiClient.DkMan ager.LoadConfig FromFile("c:\al pine\aims\Quote Historyconfig.x ml")
mdiClient.Activ eForm.Controls. Add(mdiClient._ filler)
'Controls.SetCh ildIndex(_fille r, 0)
mdiClient.DkMan ager.InnerContr ol = mdiClient._fill er
mdiClient.DkMan ager.InsideFill = True
mdiClient.DkMan ager.OuterContr ol = _statusBar
Thanx in advance
Geri 2 2093
Hi Hobley,
You may introduce a Splash Screen ... and keep it visible till all the
resources have been loaded after which you may show the main form.
Thank You,
rawCoder
"Geraldine Hobley" <Ge************ *@discussions.m icrosoft.com> wrote in
message news:7D******** *************** ***********@mic rosoft.com... Hello, In my application I am trying to load up some forms, however the
loading of the forms is causing a lot of flickering. Are there any commands
that can stop showing the repainting of the forms and thus make for a
smoother running application.
mdiClient.DkMan ager.LoadConfig FromFile("c:\al pine\aims\Quote Historyconfig.x m
l") mdiClient.Activ eForm.Controls. Add(mdiClient._ filler) 'Controls.SetCh ildIndex(_fille r, 0) mdiClient.DkMan ager.InnerContr ol = mdiClient._fill er mdiClient.DkMan ager.InsideFill = True mdiClient.DkMan ager.OuterContr ol = _statusBar
Thanx in advance Geri
you could try this:
call SuspendLayout() on the form or control that you are loading and once you are
done loading everything thats on that form or control you can call ResumeLayout().
i haven't tried this but these methods are more or less out there for that purpose
only.
hope this helps..
"Geraldine Hobley" wrote: Thanx for the help rawcoder, However this does not quite answer the question, because the loading of the forms does not occur just at the start of the application but when you click on certain nodes of a treeview, so I can't keep loading splash screens all the time.
Anyhow what I need is some type of Echo off Echo On command that you used to get with vb6 or VBA , is there an equivalent in vb.net.
Thanx
Geri
"rawCoder" wrote:
Hi Hobley,
You may introduce a Splash Screen ... and keep it visible till all the resources have been loaded after which you may show the main form.
Thank You, rawCoder
"Geraldine Hobley" <Ge************ *@discussions.m icrosoft.com> wrote in message news:7D******** *************** ***********@mic rosoft.com... Hello, In my application I am trying to load up some forms, however the loading of the forms is causing a lot of flickering. Are there any commands that can stop showing the repainting of the forms and thus make for a smoother running application. mdiClient.DkMan ager.LoadConfig FromFile("c:\al pine\aims\Quote Historyconfig.x m l") mdiClient.Activ eForm.Controls. Add(mdiClient._ filler) 'Controls.SetCh ildIndex(_fille r, 0) mdiClient.DkMan ager.InnerContr ol = mdiClient._fill er mdiClient.DkMan ager.InsideFill = True mdiClient.DkMan ager.OuterContr ol = _statusBar
Thanx in advance Geri This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hal Vaughan |
last post by:
I have a "wizard" type program with a series of panels that are placed in a
JPanel. When the "Next >" button is pressed, I put in a new panel (in
other words, the ActionListener for "Next >" selects the proper panel from
a CardLayout). Some of these panels, when selected, perform actions
immediately. When that happens, the panel is not displayed until the
action is complete.
I've tried invalidating the layout and repainting, but it...
|
by: Phil |
last post by:
I have a .net/C# com object that creates a thread and a window to output results obtained in the thread (the thread is reading a com port). Everything seems to be working correctly (I don't get any errors), but no results are displayed in the window. If I move the window it is not repainting itself, so I am sure that that is the problem, but I don't know how to fix it. Can someone give me a point in the right direction?
Thanks,
Phil
|
by: John Galt |
last post by:
I am trying to stop the Delete confirm message from showing up on a delete
of all records in a table.
The code (THAT IS NOT WORKING) is:
Me.BeforeDelConfirm = "Form_BeforeDelConfirm"
DoCmd.RunSQL "Delete from Offersheet"
How can I stop this message from showing programmatically.
I know I can uncheck the Record Changes Box in the edit/Find in the options
|
by: Phil |
last post by:
I have a .net/C# com object that creates a thread and a window to output results obtained in the thread (the thread is reading a com port). Everything seems to be working correctly (I don't get any errors), but no results are displayed in the window. If I move the window it is not repainting itself, so I am sure that that is the problem, but I don't know how to fix it. Can someone give me a point in the right direction?
Thanks,
Phil
|
by: Matt Theule |
last post by:
While stepping through an ASP.NET project, I found that data was being
inserted into my database even though I was not stepping through the
code that inserted the data.
I have a single page with inline code. The page has a Datagrid, a
textbox and a button. When the button is clicked, the value of the
textbox is inserted into the table whose contents are displayed on the
page.
The problem occurs when I set a breakpoint on a line *IN*...
| |
by: rs |
last post by:
I wonder, performance wise, if it is better to have one form and repaint the
components on that form or to have mutiple forms and show and dispose them?
Thanks
|
by: Jesse Aufiero |
last post by:
Hello all,
I have many buttons on a form and at the bottom of the form is a grid that
behaves as though it is 'retractable' - at various times during the life of
the app, the grid becomes taller and conceals the many buttons below it.
That transition is fine.
The problem is that when the grid retracts back down to the bottom portion
of the form, to reveal the many buttons underneath it, the repainting is
slow and ugly.
|
by: Robert Smith |
last post by:
Hello,
I have a problem with a form loading a repainting. Because the form
uses an office 2000 styles, when it paints it causes a lot of flickering. The
standard advice is to set the following
SetStyle(ControlStyles.DoubleBuffer, True)
SetStyle(ControlStyles.AllPaintingInWmPaint, True)
However this seems to make no difference. When the form loads it originall
appears in the old grey colour of classic windows and then quickly changes to...
|
by: vunet.us |
last post by:
Please, explain an interesting phenomenon, if you can. I have an array
of references to an HTML element:
<div id='container'>
<div id='someId1'></div>
<div id='someId2'></div>
</div>
.....
myArray = document.getElementById("someId1");
myArray = document.getElementById("someId2");
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |