Home

News

International

Screen Shots

Documentation

Download

Build

License

Credits

Contact

SourceForge Project

Tintware Documentation : Tint Automation Client : Automation Reference : event.proc

Syntax

#(proc,%object.%event,...)
#(defproc,%object.%event,...)

%object is an object and %event is the name of an event to be defined. When the event is called it will receive two arguments: the object and an array of arguments to the event. These correspond to the arguments specified in the event signature.

Example

#(oleauto.new-object,adodb.connection)
oleauto.object.01010dd8
#(proc,oleauto.object.01010dd8.OnWillConnect,(#(emacs.msgbox,%obj %args,OnWillConnect)),,,%obj,%args)

#(oleauto.object.01010dd8.Open,(PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=c:\michael\foobar7.mdb;PERSIST SECURITY INFO=FALSE;Jet OLEDB:System database=C:\PROGRA~1\MICROS~2\Office\SYSTEM.MDW),,,)