Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange listbox

Status
Not open for further replies.

belzeboom

Programmer
Sep 24, 2003
10
IT
Hi,
something strange happens to me!

In a MDI child form I populate a listbox with data from a DB.

When a use mouse scroller in the listbox, CPU use go to 100% and the program goes very slowly!

In a independent form it does not happen.

What's the problem ???

Thanx
 
You may have to give a bit more information i.e.

How many records are in the recorset?
Is the recordset closed once the entries have been inserted into the listbox?
Are there any events raised by the mouse?

----------------------------------------------------------------------

Need help finding an answer?

Try the search facilty ( or read FAQ222-2244 on how to get better results.
 
You're right.

in the recordset are not too much records.
the recordset is closed.
there are not any events raised by the mouse.

The strange thing is that all is ok in a form that has not MDI parent.

To reduce CPU use i gotta move mouse in the task bar of Windows.

It' very strange !

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top