Seite 1 von 1

[Module] CustomGadgetModule.pbi

Verfasst: 16.10.2017 16:14
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

Re: [Module] CustomGadgetModule.pbi

Verfasst: 17.10.2017 18:55
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)