highlight DirectScrollFrame Buttons

Hi,

i have a DirectScrollFrame which has to buttons for scrolling up and down. i would like to change the color of these buttons on mouse over.

how can i do that?

thnx

DirectScrolledFrame(
verticalScroll_thumb_frameColor=((0.3,0.3,0.3,0.3),(0.6,0.3,0.3,0.3),(0.3,0.6,0.3,0.3),(0.3,0.3,0.6,0.3)),
verticalScroll_incButton_frameColor=((0.3,0.3,0.3,0.3),(0.6,0.3,0.3,0.3),(0.3,0.6,0.3,0.3),(0.3,0.3,0.6,0.3)),
verticalScroll_decButton_frameColor=((0.3,0.3,0.3,0.3),(0.6,0.3,0.3,0.3),(0.3,0.6,0.3,0.3),(0.3,0.3,0.6,0.3))
)

this way ?

That’s the way to set the colour, but I think tdub want is a way to change it on ‘mouse over’

That can be done by binding a command to the button on DGG.WITHIN and DGG.WITHOUT
For example:

self.button.bind(DGG.WITHIN, self.myOnEnter, [self.button]) 
self.button.bind(DGG.WITHOUT, self.myOnExit,[self.button]) 

I think you can get the button with something like this

self.button=myFrame.verticalScroll['incButton']

or

self.button=myFrame.horizontalScroll['decButton']