To follow on with seeing if I understand ControlPool:
So once I have to Pool I essentially want to maintain a table of created objects that are in use and a table of objects that have been released.
I use AcquireObject() to get/create a new control, place it in the table I created, modify it to what want and display it.
When the grid is 'disabled', I release all the objects back to the pool for the next use.
|