Hello Everyone,
I have a situation where I have created two calculated fields and in a wwDBGrid, I am using a wwExpandButton on each. At run-time, the left most expandbutton will drop down the detail grid that it is attached to. However, the right most expandbutton will not drop down the other detail grid that it is attached to. I noticed that at run-time, if I drag the column of the right most expandbutton to the left, it will switch the two columns. This action will allow the right expandbutton (now the left) to drop down it's grid, but then the left one that is now on the right side will no longer drop down. I hope this makes sense.
Is it possible that only one expandbutton can be used on a single grid?
Thank you for any input.
Ok, after playing with it, I think I have it solved. The problem was that I had wwDBGrid->Options->RowSelect set to TRUE. I set it to FALSE, and gave wwDBGrid->PaintOptions->ActiveRecordColor the value of clHighlight.
Hopefully this helps others.