home *** CD-ROM | disk | FTP | other *** search
- MODULE 'tools/easygui', 'tools/exceptions',
- '*test'
-
- PROC main() HANDLE
- DEF v=NIL:PTR TO vanilla
- NEW v.vanilla([27,13])
- easyguiA('vanilla',
- [ROWS,
- [BUTTON,{otheraction},'_bla',NIL,"b",NIL,FALSE],
- [TEXT,'vanilla test',NIL,TRUE,10],
- [PLUGIN,{vanillaaction},v]
- ])
- EXCEPT DO
- END v
- report_exception()
- ENDPROC
-
- PROC vanillaaction(i,t:PTR TO vanilla)
- WriteF('vanillaaction \d\n',t.hit)
- ENDPROC
-
- PROC otheraction(i,t)
- WriteF('otheraction\n')
- ENDPROC