Marten:
I may have posted this before, so bear with me. In my DESI file upload of a few days ago, I have a grid that operates exactly like a list box. Feel free to download it and steal whatever works for you. Why reinvent the wheel?
>As some of you might noticed I have posted a couple of message the last few days with problem I have with making a grid look like a listbox. Finally after many hours I have now got it to work exactly the way I wanted. The last problems I worked with was the error from DynamicBackColor and DynamicForeColor, and that was a hard one to solve... To solve it I had to remove all my updatecode for the grid-table from Thisform.Refresh to a new method (Thisform.UpdateGridList) which I only call when necessary. So now I wonder if it's even possible to have code that manipulate grid tables in the refresh method?
>
>As I look back on many of my problems with grids it's always simple code that in someway manipulate the grid table in the Refresh method the couses the most strange things to happend. Has anyone else have the same problems with grids and the refresh method?
>
>/Mårten Törnquist
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05