[Module] CustomGadgetModule.pbi

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] CustomGadgetModule.pbi

Beitrag von Thorsten1867 »

Modul mit verschiedenen benutzerdefinierten Gadgets

Ich habe verschiedene Gadget-Module zusammengefasst und vereinheitlicht. Die Gadgets können einzeln aktiviert bzw. deaktivert werden.

Download: CustomGadgetModule.pbi


Gradient Text - Gadget

Code: Alles auswählen

; GradientText::Gadget()       - Creates a gradient TextGadget within the current gadget list
; GradientText::SetBackColor() - Changes the background color gradient
; GradientText::SetTextColor() - Changes the text color 
; GradientText::SetFont()      - Changes the text font 
; GradientText::SetText()      - Changes the text of the gadget
Extended Text - Gadget

Code: Alles auswählen

; Text::Gadget()     - Creates a extended text gadget within the current gadget list (MultiLine/AutoCenter/Autosize)
; Text::SetColor()   - Changes the text and background color 
; Text::SetFont()    - Changes the text font
; Text::SetSpacing() - Set the spacing for autosize (Width and/or Height = #False)
Extended Frame - Gadget

Code: Alles auswählen

; FrameEx::Gadget()   - Creates a extended frame gadget within the current gadget list
; FrameEx::SetColor() - Changes the text color 
; FrameEx::SetText()  - Changes the text of the frame
Barcode 39 - Gadget

Code: Alles auswählen

; Gadget() - Creates a barcode gadget (Code 39) within the current gadget List
Extended String - Gadget

Code: Alles auswählen

; StringEx::Gadget()          - Creates a extended string gadget within the current gadget list
; StringEx::SetColor()        - Changes the colors of the gadget
; StringEx::SetFont()         - Changes the font of the text
; StringEx::SetAttribute()    - Changes an attribute value of the gadget
; StringEx::Command()         - Commands for selection and Copy&Paste
; StringEx::Free()            - Releases the gadget and releases its gadget list
; StringEx::AddButton()       - Adds a button to the string gadget
; StringEx::RemoveButton()    - Removes the button from the string gadget
; StringEx::SetText()         - Changes the text content of the gadget
; StringEx::GetText()         - Returns the text content of the gadget
; StringEx::InsertText()      - Inserts the text at the cursor position
; StringEx::BindSGExEvent()   - Linked gadget event with a callback
; StringEx::UnbindSGExEvent() - Removes the linking of a gadget event from a callback function
; StringEx::Resize()          - Resizes the string gadget
; StringEx::AddACText()       - Adds the text for auto-completion
; StringEx::RemoveACText()    - Removes the text for auto-completion
Bar & Line Chart - Gadget

Code: Alles auswählen

; Chart::Gadget()        - Creates a chart gadget within the current gadget list
; Chart::AddRow()        - Adds a row to the chart
; Chart::AddColumn()     - Adds a column to the chart
; Chart::SetAttribute()  - Setups chart attributes
; Chart::SetValue()      - Adds or updates a chart value
; Chart::SetText()       - 
; Chart::RefreshGadget() - Repaints the whole chart
; Chart::Clear()         - Removes all data from the chart
Pie Chart - Gadget

Code: Alles auswählen

; PieChart::Gadget()         - Creates a chart gadget within the current gadget list
; PieChart::AddValue()       - Add a value to the pie chart
; PieChart::SetValue()       - Change a value in the pie chart
; PieChart::RemoveValue()    - Remove a value from the pie chart
; PieChart::SetValueTitle()  - Change the title of the column "Value"
; PieChart::SetSpacing()     - Change the spacing for the pie chart (Default: 10)
; PieChart::Sort()           - Sort entry names of the values
; PieChart::GetID()          - Get the ID of Image or Gadget (#Image/#ImageGadget/#ListIcon)
; PieChart::Free()           - Remove the gadget and release all resources
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Benutzeravatar
Thorsten1867
Beiträge: 1359
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

Re: [Module] CustomGadgetModule.pbi

Beitrag von Thorsten1867 »

Update:

Extended Text - Gadget

Code: Alles auswählen

; Text::Gadget()     - Creates a extended text gadget within the current gadget list (MultiLine/AutoCenter/Autosize)
; Text::SetColor()   - Changes the text and background color 
; Text::SetFont()    - Changes the text font
; Text::SetSpacing() - Set the spacing for autosize (Width and/or Height = #False)
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Antworten