Tom, or whoever is responsible that this codesnippet works, please check the syntax before posting it online. I quickly looked over it to see how Paolo managed to draw on a dialog, but found this line <code> oPaintListener = CreateUnoListener("ThisDialog_", "com.sun.star.awt.XPaintListener" </code> There is no closing parenthesis. -> http://codesnippets.services.openoffice.org/Office/Office.DrawingOnDialogs.snip
That's really strange as i tested using copy/paste of the snippet page and didn't experience any error and it worked
i confirm that there is ) missing
really, a great magician, this Paolo ;)
Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ing�nierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmation OpenOffice.org", Eyrolles 2004
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
