Menu

#1838 Button should stay in -overrelief state after event

obsolete: 8.4.9
open
5
2005-01-11
2005-01-11
Anonymous
No

Given the following Tcl/Tk 8.4.9 example:

console hide
wm state . zoomed
raise .
frame .tb -bd 1 -relief raised
button .tb.bt1 -text "Button1" -relief flat -overrelief
raised
pack .tb -fill x -side top
pack .tb.bt1 -side left

When the mouse hovers over Button1 it's -overrelief
option is raised. However, after the button is pressed
the relief is returning back to the -relief option,
even though the mouse is still hovering over the button.

Button1 should still be in it's -overrelief state
always as long as the mouse is over it, even if the
button was pressed.

Thanks!
USCode

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Sorry, forgot to mention this is on WindowsXP.

     
  • Nobody/Anonymous

    Logged In: NO

    Sorry, forgot to mention this is on WindowsXP.

     
  • Joe English

    Joe English - 2005-01-17

    Logged In: YES
    user_id=68433

    Same thing happens on X11.