[Module] ScrollBarEx - Module (all OS)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

[Module] ScrollBarEx - Module (all OS)

Post by Thorsten1867 »

ScrollBarEx - Module (all OS / DPI / 64Bit)
  • Adjust scrollbar length if vertical and horizontal are displayed
  • Support of the mouse wheel when the cursor is over the scrollbar
  • Automatic size adjustment
  • Appearance customization
  • Support for rounded corners
  • Full color support
Image

Code: Select all

; ScrollEx::Gadget()       - similar to ScrollBarGadget()
; ScrollEx::GetAttribute() - similar to GetGadgetAttribute()
; ScrollEx::GetData()      - similar to GetGadgetData()
; ScrollEx::GetID()        - similar to GetGadgetData(), but string instead of integer
; ScrollEx::GetState()     - similar to GetGadgetState()
; ScrollEx::Hide()         - similar to HideGadget()
; ScrollEx::SetAttribute() - similar to SetGadgetAttribute()
; ScrollEx::SetColor()     - similar to SetGadgetColor()
; ScrollEx::SetData()      - similar to SetGadgetData()
; ScrollEx::SetID()        - similar to SetGadgetData() , but string instead of integer
; ScrollEx::SetState()     - similar to SetGadgetState()
Download: ScrollBarExModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] ScrollBarEx - Module (all OS)

Post by Thorsten1867 »

Update:
  • Added: AutoScroll for buttons (hold button)
  • Added: Scroll page width/height (click gap)
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Post Reply