OOBasic Dialog Label Scrollbar Class

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

OOBasic Dialog Label Scrollbar Class

Post by JeJe »

The OpenOffice stand alone dialog scrollbar appears to no longer work in LibreOffice.

Here's a class based replacement using labels that works in both.
The thumb doesn't show up in LibreOffice at start - that seems to be the only difference.
Its more difficult to use but is more customisable.

On the second example press the tab key and then number keys to change values by key.

***** SMALL FIX 31/03/18 TO GO TO MAX VALUE WHEN THUMB POSITIONING AND MOUSE MOVED TO RIGHT/BOTTOM BUTTON

***** FIX 08/04/18 TimerScroll values of 1 and 10 should have been smallchange and largechange - corrrected
Attachments
LabelScrollbar.odt
(22.01 KiB) Downloaded 330 times
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply