[Module] SpinEx - Module (= SpinCombo-Gadget)

Hier könnt Ihr gute, von Euch geschriebene Codes posten. Sie müssen auf jeden Fall funktionieren und sollten möglichst effizient, elegant und beispielhaft oder einfach nur cool sein.
Benutzeravatar
Thorsten1867
Beiträge: 1359
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

[Module] SpinEx - Module (= SpinCombo-Gadget)

Beitrag von Thorsten1867 »

SpinEx - Module (All OS / DPI)
  • Kombination aus ComboBox und SpinGadget
  • Man kann entweder eine Liste mit Items oder einen Zahlenbereich nutzen.
  • Auswahl mittels hoch/runter Buttons, Cursortasten oder Mausrad
  • editierbar oder readonly
  • Untersützung von Textausrichtung und Farben
Bild

Code: Alles auswählen

; SpinEx::AddItem()            - similar to 'AddGadgetItem()'
; SpinEx::AttachPopupMenu()    - attach a popup menu to the list
; SpinEx::Copy()               - copy selection to clipboard
; SpinEx::Cut()                - cut selection to clipboard
; SpinEx::Delete()             - delete selection
; SpinEx::ClearItems()         - similar to 'ClearGadgetItems()'
; SpinEx::CountItems()         - similar to 'CountGadgetItems()'
; SpinEx::Disable()            - similar to 'DisableGadget()'
; SpinEx::GetData()            - similar to 'GetGadgetData()'
; SpinEx::GetID()              - similar to 'GetGadgetData()', but string instead of quad
; SpinEx::GetColor()           - similar to 'GetGadgetColor()'
; SpinEx::GetItemData()        - similar to 'GetGadgetItemData()'
; SpinEx::GetItemLabel()       - similar to 'GetGadgetItemData()', but string instead of quad
; SpinEx::GetItemText()        - similar to 'GetGadgetItemText()'
; SpinEx::GetLabelText()       - similar to 'GetGadgetItemText()', but label instead of row
; SpinEx::GetState()           - similar to 'GetGadgetState()'
; SpinEx::GetText()            - similar to 'GetGadgetText()'
; SpinEx::Gadget()             - similar to 'ComboBoxGadget()'
; SpinEx::Hide()               - similar to 'HideGadget()'
; SpinEx::Paste()              - paste clipboard
; SpinEx::RemoveItem()         - similar to 'RemoveGadgetItem()'
; SpinEx::SetAttribute()       - similar to 'SetGadgetAttribute()'
; SpinEx::SetAutoResizeFlags() - [#MoveX|#MoveY|#Width|#Height]
; SpinEx::SetColor()           - similar to 'SetGadgetColor()'
; SpinEx::SetData()            - similar to 'SetGadgetData()'
; SpinEx::SetFont()            - similar to 'SetGadgetFont()'
; SpinEx::SetID()              - similar to 'SetGadgetData()', but string instead of quad
; SpinEx::SetItemColor()       - similar to 'SetGadgetItemColor()'
; SpinEx::SetItemData()        - similar to 'SetGadgetItemData()'
; SpinEx::SetItemText()        - similar to 'SetGadgetItemText()'
; SpinEx::SetLabelText()       - similar to 'SetGadgetItemText()', but label instead of row
; SpinEx::SetState()           - similar to 'SetGadgetState()'
; SpinEx::SetText()            - similar to 'SetGadgetText()'
Download: SpinExModule.pbi
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild