Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

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

Syntax

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

%edit specifies an edit control. You can define this to be a proc which gets called when the keyboard is used in an edit. The proc will be called with a single argument: the key which was pressed on the keyboard.

Example

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

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