[RESOLVED] Content listbox and cmdbuttons visible after seconds
I make programs on a computer with Windows XP.
When i run the compiled version everything is ok. The contents are visible direct.
However, when i run the programm on a computer with Windows 7 Pro
i get problems.
I have a mainform frmwnstam. When i save the content of that form the program controls the input fields.
When there are errors the listbox will be filled on the form frmFouten.
At this time the frmFouten is not visable.
When i, on the Windows 7 computer, show the form frmFouten, the form itself will be showed immeditately.
The listbox, the content of the listbox and the two commandbuttons are visible after aprox 5 to 10 seconds.
Please help.
Herman
Re: Content listbox and cmdbuttons visible after seconds
Another post about the same thing? Don't do that...
I mentioned the FONT COLOR. Looks like it's set to the background color on W7
Re: Content listbox and cmdbuttons visible after seconds
My first posting was wrong.
What i discribed was not the real problem.
Therefore i close the first one.
The color is not he problem.
I made a complete new form 'frmfouten' with, again, the right colors.
When showing the form there is only a white form with white commandbuttons.
After 5 to 10 seconds (it is different) the form shows automaticly as it should be.
There is no timer on the form, i use no refresh of the form or what so ever.
Re: Content listbox and cmdbuttons visible after seconds
Should we have to guess what code you typed into your PC, or should we just write the whole thing for you (NOT)
Re: Content listbox and cmdbuttons visible after seconds
Sounds like you have code running during the form load procedure that is eating up processor cycles and preventing the form from loading. Without knowing what you are doing there is no way to say what the real issue is.
Re: Content listbox and cmdbuttons visible after seconds
Dglienna, sorry man, i did not mean to upset you.
It even did not cross me mind that you should quess what i am typing or even worse, you should write my code.
DataMiser
I have a program with two forms.
In form1 i fill a listbox on form2 when the a input is wrong.
At a certain moment, when form2.listbox.listcount > 0, form2 is shown.
On the old XP computer, with much less memory than the Windows 7, form2 is shown direct, including listbox with his lines and the commandbuttons.
On the windows 7 (newer computer) the (white) form is shown direct, but the listbox an commandbuttons are shown afte several seconds.
During form2 load there is no further action.
I just wondered why that is.
Meanwhile i changed the code, myself, and show the errors on form1.
Thanks to all of you for thinking with me.
Have a nice weekend.