OOBasic Dialog Resizing button

Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by OpenOffice.org [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This section is not for asking questions about writing your own macros.
Post Reply
JeJe
Volunteer
Posts: 2764
Joined: Wed Mar 09, 2016 2:40 pm

OOBasic Dialog Resizing button

Post by JeJe »

This is to get round the problem of OOBasic dialogs not being resizable by the user.

This resizing button allows resizing of a dialog by pressing the button with the mouse or using the arrow keys when the button has the focus. You just need to install the extension and copy and paste the button from the dialog there onto your dialog. Optionally you can use the button's tag to set options such as calling a custom resizing sub for when your form resizes.

There is some excellent code here for a resizable border,
viewtopic.php?f=21&t=92867
but I've had a problem with the non-modal dialog version.
So this button is an alternative.

Edit:
Note only tested in OO
Library with code is called JeDialog
resizing dialog.jpg
Attachments
Dialog Resizing Button.oxt
(7.07 KiB) Downloaded 281 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply