Laurent Godard wrote:
Hi Jurgen

thanks for the response

I'm looking for an equivalent of the OOoBasic MsgBox to implement in pyUNO



no, there is no replacment. Use XMessageBox if necessary. A decision how we want to go forward with awt or with an alternative/replacement for awt is still outstanding.


ok
nevertheless, i see it is only an "ok" message as there is no parameters like yes/no aso (in fact i want a message box to ask a question and retreive the response)

an other way would be to create an addon (service) reproducing the OOoBasic MsgBox behaviour. I think it is doable with my python knowledge
Do you think it is worth a try ?

you should look to the example <sdk>/examples/BasicAndDialogs/CreatingDialogs/SampleDialog.java. The example creates a dialog with the awt interfaces. It'S UNO ;-), it's more or less the same from Python. Probably you can figure out from the example how you can create a simple dialog.

I hope that helps

Juergen



Laurent



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to