For some reason I can't figure this out…
I have made a simple dialogue with two buttons and a numeric field. Those
buttons triggers two different subroutines that does two different things
and then closes the entire dialogue.
I want the dialogue to close automatically after ten seconds if neither of
the buttons have been pushed. The remaining time is to be displayed in the
numeric field mentioned above.
However, I couldn't find a way to trig a function ”when nothing else
happens”. Here's what I want to do:
User does nothing, so a subroutine is called checking the remaining time
and displays it in the numeric field.
User still doesn't do anything and the above repeats until remaining time
is zero, then the dialogue is closed.
To unsubscribe e-mail to: firstname.lastname@example.org
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
- [libreoffice-users] Auto-closing user dialogue (macro, Basic) · Johnny Rosenberg
Impressum (Legal Info)
: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (MPLv2
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our trademark policy