I experiment actually the wonderful code snippet of roland65 : “Resizable dialog”.
This code is a little beyond my abilities, although I can understand the general meaning of it, and use it. I did not have any problem installing the “ResizableDialog” library. Finally, I am personally just interested by the non-modal dialog box. I use LibreOffice and it works without problem.
I find myself in front of a problem. My use would be really easy if my users should NOT have to install a library (or an extension). It is therefore necessary that the code is included in the file, in this case and for what I want to do, in a Calc’s file.
I thought that changing the only line
Code: Select all
sURL = "vnd.sun.star.script:ResizableDialog.Dialog2?location=application"
Code: Select all
sURL = "vnd.sun.star.script:Standard.Dialog1?location=document"
Launching the macro named “ResizableDialog”, I have the following message:
I understood that there was a copy between outer and inner dialog... And I presume it is a problem of a Child without Parent... From there to really understand the mechanism of this system without warning social services, it's a bit complicated for me (or it will take me a lot of time)...
Could you help me