[Module] SpinEx - Module (= SpinComboGadget)

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] SpinEx - Module (= SpinComboGadget)

Post by Thorsten1867 »

SpinEx - Module (All OS / DPI)
  • Combination of a ComboBox and a SpinGadget
  • You can use either a list of items or a number range.
  • Selection with up/ down buttons, cursor keys or mouse wheel
  • editable or readonly
  • Support for text alignment and colors
Image

Code: Select all

; 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
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
Cyllceaux
Enthusiast
Enthusiast
Posts: 467
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: [Module] SpinEx - Module (= SpinComboGadget)

Post by Cyllceaux »

In example 2:
[10:45:56] Warte auf den Start des Executable...
[10:45:56] Executable-Typ: Windows - x64 (64bit, Unicode, Thread)
[10:45:56] Executable gestartet.
[10:45:57] [ERROR] SpinExModule.pbi (Zeile: 803)
[10:45:57] [ERROR] Die Liste hat kein aktuelles Element.
[10:45:59] Das Programm wurde beendet.
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] SpinEx - Module (= SpinComboGadget)

Post by Thorsten1867 »

Fixed
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

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