Alternative Listbox Updated 15 April 16

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: 2763
Joined: Wed Mar 09, 2016 2:40 pm

Alternative Listbox Updated 15 April 16

Post by JeJe »

OO Basic simple dialog listbox replacement class using labels and a scrollbar
allows separate setting of individual items like backcolor, font etc - anything you can do with a label.
also multicolumn arrangments.
maybe you want to use as basis for your own OO controls, or an enhanced version

I'm new to OO and... it doesn't seem to provide much in the way of controls... and there look to be bugs in those that are there. But it should be possible to create something comprised of the existing ones as demonstrated here for almost any control you want.

'15 April16 update - added support for editing, moving, sorting items,
'to make adding more efficient - option of using array buffer
Attachments
AlternativeListBox 15 April 16.odt
(20.87 KiB) Downloaded 346 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply