Marten,
The application I uploaded recently, DESI, has a selector grid that does what you want.
>I'm currently trying to make a grid look and work lika a listbox. Almost everything works fine, but I have three questions.
>
>1. When I click on a textbox in the grid it becomes white. How do I do to prevent the textbox to be selected, I want it to have the same color as the rest of the row.
>
>2. I want the mouse pointer to look like an arrow all the time. I've tired the mousepointer properties but the mouse pointer still looks like "I want to insert characters".
>
>3. Is there anyway to make the grid lose focus in code without setting the focus to another control. I want no control to have focus...
>
>/Mårten
------------------------------------------------
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