#1914 <Activate> and <Deactivate> bindings not fired

obsolete: 8.4.9
closed-invalid
5
2005-05-26
2005-05-26
No

Unless I misunderstand the bind manual page.
Under Windows, try this test script:

package require Tk
catch {console show}

bind all <Activate> {puts "Activate %W"}
bind all <Deactivate> {puts "Deactivate %W"}

toplevel .t1

focus -force .; update
focus -force .t1; update

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-05-26
    • status: open --> closed-invalid
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-05-26

    Logged In: YES
    user_id=72656

    You want FocusOut and FocusIn.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks