I have an application with as many as 625 Textboxes in a runtime generated control array.

I add textboxes one at a time in a subroutine.

The application ran with no problems until the parameters required more than 256 textboxes at which point it slowed drastically as textboxes were added. At circa 400 Textboxes it died with an out-of-memory condiiton.

The system has 8GB & a 64Bit version of Windows 7.

It looks like the tooltips are eating up memory, causing excessive use of virtual memory from Hard Disk & finally causing out-of-memory.

I am now running the application with a label which flashes when the mouse hovers. This uses the Handler for MouseHover.

Is it possible to get a single Tooltip to function for all the Controls in an Array? I would prefer this to using the Event Handler.

Thanx for any advice somebody can provide.