I have created a container based class which uses a textbox and a button to allow users to use a lookup function to fill in a value. I have tried using this in a grid and am having some problems. I can make it work if I set sparse to .F., but I only want to show the search button in the active cell. If I set sparse to .T., then it works right but the non-active cells show no values.
I tried making it so that my button was invisible until the control got focus, but the results of that were just plain weird. Once I clicked on one cell in that column, every cell in that column showed up with a button. Clicking on a different cell in any row would then cause the button to go back to invisible, but basically it was just weird.
My real question: how can I use a container class with sparse = .t. and still see the values in non-active cells.
Thanks in advance,
Paul R. Moon