Alternative Listbox Updated 15 April 16

Creating Extension - 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 forum is not for asking questions about writing your own macros.

Alternative Listbox Updated 15 April 16

Postby JeJe » Mon Apr 11, 2016 12:48 am

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 108 times
Openoffice 4.1.2
Windows 8
JeJe
 
Posts: 122
Joined: Wed Mar 09, 2016 2:40 pm

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 2 guests