cool, take it a step further and add states; instead of setting visible directly. Then you can use effects to soften the blow.
-TH --- In [email protected], "jdizowat" <jasonharr...@...> wrote: > > Got it, thanks man. > --- In [email protected], "turbo_vb" TimHoff@ wrote: > > > > > > myTrashCanButton.visible = ( dataGrid.isItemHighlighted(data) || > > dataGrid.isItemSelected(data) ); > > > > -TH > > > > --- In [email protected], "jdizowat" <jasonharrold@> wrote: > > > > > > You are amazing, that's exactly what I needed. > > > > > > The first problem I encountered was this - since the datagrid is > > selectable by default which is what I want, the selection is > > over-powering the button click and setting the row selection. Per the > > listbase class and that isItemHighlighted function you gave me, it looks > > like they are saying the selected draws over the highlighted. I can > > rollover a row and click the trashcan button and the row highlights and > > the button goes away. If I re-hover over the selected row, I can then > > click the button. > > > > > >

