Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Idget Library : Edit Controls : edit.focus

Syntax

#(proc,%edit.focus,...)

%edit specifies an edit control. You can define this to be a proc which gets called when the focus changes on the edit control. The proc will be called with a single argument: either set or kill.

Example

Def:Edit:example-panel.my-edit(200)
[*][*]

Def:Proc:example-panel.my-edit.focus(%state)
[*]
#(example-panel.my-edit.insert,%state)
[*]