Seite 1 von 1

[Module] ComboBoxEx - Gadget (all OS)

Verfasst: 05.12.2019 19:12
von Thorsten1867
Wenn Mama "StringEx" und Papa "ListViewEx" sich ganz lieb haben, erhält man ..... :mrgreen:

ComboBoxEx Gadget - Module (all OS / DPI / 64Bit)
  • Möglichkeit, den Pfeil durch ein Image zu ersetzen
  • Farben für einzelne Zeilen
  • automatische Größenanpassung
  • Unterstützung von GUI - Themes (benötigt ModuleEx.pbi)
Bild _____ Bild

Code: Alles auswählen

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

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 05.12.2019 21:56
von ccode_new
Sieht cool aus.

:allright:

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 10.12.2019 16:38
von Thorsten1867
Update: #MultiSelect Flag hinzugefügt

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 11.02.2020 19:11
von PureLust
Hallo Thorsten, kleine Frage:

Wenn die Anzahl der Einträge größer ist als die Zeilen die angezeigt werden (also z.B. bei 50 Items) ... wie kann man dann dort scrollen?

Thx und Grüße, PL

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 12.02.2020 14:29
von Thorsten1867
Das funktioniert bisher nicht.
Die Größe des Fensters wird entsprechend angepasst. Bei derart vielen Einträgen musst du momentan wohl das Orginal-Gadget benutzen.

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 13.02.2020 20:15
von PureLust
Thorsten1867 hat geschrieben:Das funktioniert bisher nicht.
Die Größe des Fensters wird entsprechend angepasst. Bei derart vielen Einträgen musst du momentan wohl das Orginal-Gadget benutzen.
Ah ok, schade ... das schränkt die Nutzbarkeit natürlich leider ein wenig ein.
Hast Du evtl. noch vor das zu implementieren?

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 14.02.2020 09:33
von Thorsten1867
Update: Scrollbar hinzugefügt

Re: [Module] ComboBoxEx - Gadget (all OS)

Verfasst: 02.03.2020 10:52
von Thorsten1867
Update: ScrollBarGadget() ersetzt durch Zeichnenroutine