General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2008 Server
>I have a grid setup to resemble a listbox. When the grid is first activated
>the top row is highlighted. I would like for there to be no initial highlighting.
>Is this possible?
I don't know if there's a direct way to do this. If I had to do it right now, I would create a form (or custom grid class) property, which is initially set to .f.. Then I would populate the Dynamic* colors with white for the background so even if it is selected, it appears to NOT be selected. Then, after the grid receives focus, I would change the property to .t. so the Dynamic* color would show the selection.
Others may have better solutions for this, but this one would work. It's just kind of clunky. :-) Creating a custom grid class to handle it this way would make it less clunky.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only