[Module] PureBasic V5.7x (DPI)

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

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

PackEx - Module (PB V5.7x / all OS / 64Bit)

Extended Packer - Module
  • Add or replace a file to an open archive
  • Remove a file from an open archive
  • Move files back to the archive or update them when the archive is closed. [#MoveBack/#Update]
  • Add encrypted files to the archive or or decrypt files during unpacking
  • Save XML, JSON and Images directly in the archive and load them directly from the archive
  • Add sound, music or sprite files to the archiv and load them directly from the archive

Code: Select all

; PackEx::AddFile()          - similar to AddPackFile()
; PackEx::AddImage()         - similar to SaveImage(), but for archive
; PackEx::AddJSON()          - similar to SaveJSON(), but for archive
; PackEx::AddMemory()        - similar to AddPackMemory()
; PackEx::AddXML()           - similar to SaveXML(), but for archive
; PackEx::Close()            - similar to ClosePack()  [#MoveBack/#Update]
; PackEx::Create()           - similar to CreatePack()
; PackEx::DecompressFile()   - similar to UncompressPackFile()
; PackEx::DecompressImage()  - similar to LoadImage(), but for archive
; PackEx::DecompressJSON()   - similar to LoadJSON(), but for archive
; PackEx::DecompressMemory() - similar to UncompressPackMemory()
; PackEx::DecompressMusic()  - similar to LoadMusic(), but for archive
; PackEx::DecompressSound()  - similar to LoadSound(), but for archive
; PackEx::DecompressXML()    - similar to LoadXML(), but for archive
; PackEx::IsEncrypted()      - checks if the packed file is encrypted
; PackEx::Open()             - similar to OpenPack()
; PackEx::RemoveFile()       - remove file from archive
; PackEx::SetSalt()          - add your own salt
; PackEx::CreateSecureKey()  - use secure keys to make brute force attacks more difficult
Download: PackExModule.pbi

Image

Download: qAES-Packer.exe (+ SourceCode)

Image

Download: UnPackEx.exe (+ SourceCode)
Last edited by Thorsten1867 on Fri Dec 20, 2019 4:08 pm, edited 3 times in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

EditorExGadget Module
  • Automatic line break & hyphenation (german/english/french)
  • soft hyphen or conditional hyphen
  • Manual line break for WordWrap/Hyphenation (Return or Ctrl-Return for existing automatic line break)
  • Undo / Redo
  • Simple syntax highlighting (e.g. for spell checking)
  • (Automatic) spell checking (german/english/french/...)

Code: Select all

  ; EditEx::AddItem()                - Add text row at 'Position' (or #FirstRow / #LastRow)
  ; EditEx::AddToUserDictionary()    - Add a new word to user dictionary
  ; EditEx::AddWord()                - Add word to syntax highlighting
  ; EditEx::AttachPopup()            - Attach 'PopUpMenu' to gadget
  ; EditEx::ClearWords()             - Delete the list with the words for syntax highlighting
  ; EditEx::ClearUndo()              - Delete the list with Undo/Redo steps
  ; EditEx::Copy()                   - Copy selected text to clipboard
  ; EditEx::Cut()                    - Cut the selected text and copy it to the clipboard
  ; EditEx::DeleteSelection()        - Delete selected text (Remove selection: #True/#False)
  ; EditEx::DeleteWord()             - Delete word from syntax highlighting
  ; EditEx::EnableAutoSpellCheck()   - Activate automatic spelling correction
  ; EditEx::EnableSyntaxHighlight()  - Enable syntax highlighting (#False/#CaseSensitiv/#NoCase)
  ; EditEx::EnableUndoRedo()         - Enable 'Undo/Redo' function (#True/#False)
  ; EditEx::FreeDictionary()         - Removes the loaded dictionary from memory
  ; EditEx::GetAttribute()           - Returns value of attribute (#ReadOnly/#WordWrap/#Hyphenation/#AutoHide/#Border/#CtrlChars)
  ; EditEx::GetColor()               - Returns color of attribute (#FrontColor/#BackColor/#SyntaxColor/#SelectionColor)
  ; EditEx::GetItemText()            - Returns text row at 'Position'
  ; EditEx::GetSelection()           - Returns selected text (Remove selection: #True/#False)
  ; EditEx::GetText()                - Returns all text rows seperated by 'Seperator'
  ; EditEx::InsertText()             - Insert text at cursor position (or replace selection)
  ; EditEx::IsRedo()                 - Checks if an redo is possible
  ; EditEx::IsSelected()             - Returns whether a selection exists
  ; EditEx::IsUndo()                 - Checks if an undo is possible
  ; EditEx::LoadDictionary()         - Load the dictionary for spell checking
  ; EditEx::LoadHyphenationPattern() - Load hyphenation pattern for selected language (#Deutsch/#English/#French)
  ; EditEx::Redo()                   - Perform Redo
  ; EditEx::ReDraw()                 - Redraw the gadget
  ; EditEx::RemoveGadget()           - Releases the used memory and deletes the cursor thread
  ; EditEx::Paste()                  - Inserting text from the clipboard
  ; EditEx::SaveUserDictionary()     - Save user dictionary
  ; EditEx::SetAttribute()           - Enable/Disable attribute (#ReadOnly/#WordWrap/#Hyphenation/#AutoHide/#Border/#CtrlChars)
  ; EditEx::SetColor()               - Set or change color of attribute (#FrontColor/#BackColor/#SyntaxColor/#SelectionColor)
  ; EditEx::SetFont()                - Set or change font FontID(#Font)
  ; EditEx::SetItemText()            - Replace text row at 'Position'
  ; EditEx::SetText()                - Set or replace all text rows
  ; EditEx::SpellCheck()             - Checks the spelling of the word (returns: #True/#False)
  ; EditEx::SpellChecking()          - Check the spelling in the editor gadget (#Highlight/#WrongWords)
  ; EditEx::Undo()                   - Perform Undo
  ; -----------------------
  ; EditEx::Gadget()                 - Creates an editor gadget
  ; -----------------------
Download: EditorExModule.pbi (with Dictionary and Hyphen-Pattern)
Last edited by Thorsten1867 on Sat Nov 23, 2019 3:05 pm, edited 4 times in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

FontEx - Module (all OS / 64Bit / DPI)
  • Font management
  • automatic size adjustment of gadget texts
  • determine the required font size

Code: Select all

; FontEx::AddGadget()      - add gadget to work with FontEx and load the required font if necessary.
; FontEx::FitText()        - fit font size for current text
; FontEx::SetAttribute()   - [#Minimum / #Maximum / #Padding / #PaddingX / #PaddingY]
; FontEx::SetFont()        - change the font of the gadget and load the required font if necessary.
; FontEx::SetText()        - set text and fit font size
Download: FontExModule.pbi
Last edited by Thorsten1867 on Sat Nov 23, 2019 1:16 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

Template for custom gadgets (all OS / 64Bit / DPI)

Download: GadgetModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ImageEx Gadget - Module (all OS / 64Bit / DPI)
  • display the image with the correct proportions
  • automatic size adjustment (Gadget / Image / Text)
  • add text [#Center/#Right/#Left | #Top/#Middle/#Bottom | #FitText]

Code: Select all

; ImageEx::AttachPopupMenu()    ; attachs a popup menu to the gadget
; ImageEx::DisableReDraw()      ; enable/disable redrawing of the gadget
; ImageEx::Gadget()             ; creates a new gadget
; ImageEx::SetAutoResizeFlags() ; [#MoveX|#MoveY|#Width|Height]
; ImageEx::SetColor()           ; similar to SetGadgetColor()
; ImageEx::SetFont()            ; similar to SetGadgetFont(), but FontNumber instead of FontID
; ImageEx::SetFlags()           ; adds flags to the gadget
; ImageEx::SetMargins()         ; define margins
; ImageEx::SetState()           ; similar to SetGadgetState(), but ImageNumber instead of ImageID
; ImageEx::SetText()            ; similar to SetGadgetText()
; ImageEx::ToolTip()            ; similar to GadgetToolTip()
Download: ImageExModule.pbi
Last edited by Thorsten1867 on Sat Nov 23, 2019 3:05 pm, edited 2 times in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ItemDate - Module (all OS / 64Bit)

Similar to 'GadgetItemData' but with strings instead of integers

Code: Select all

; Item::SetData()
; Item::GetData()
; Item::RemoveData()
; Item::FreeData()
Download: ItemDataModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

Least Significant Bit Embedding - Module (all OS / 64Bit)
  • Embed files, XML, JSON and strings as encrypted data in images with lossless compression.
Image
This image contains "Test.xml", "Test.txt" and the string "Least Significant Bit Embedding (LSB) is a general steganographic technique."

Code: Select all

; LSB::Create()        - create a image with LSB embedded files or data
; LSB::Open()          - open a image with LSB embedded files or data
  
; LSB::EmbedFile()     - embed file in image
; LSB::ExtractFile()   - extract file from image
; LSB::EmbedXML()      - embed XML in image
; LSB::ExtractXML()    - extract XML from image
; LSB::EmbedJSON()     - embed JSON in image
; LSB::ExtractJSON()   - extract JSON from image
; LSB::EmbedString()   - embed string in image
; LSB::ExtractString() - extract string from image
; LSB::Save()          - save image with LSB embedded files or data
; LSB::Close()         - close 
; LSB::GetSpace()      - [#Image/#Available/#Used]
Download: LSB_Module.pbi
Last edited by Thorsten1867 on Fri Dec 20, 2019 4:10 pm, edited 2 times in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ModuleEx - Mastermodul (all OS / 64Bit / DPI)

Management of the tab key (shortcut) within a window (#Tabulator)
  • Switches from one gadget to the next via tabulator or skips this gadget (#IgnoreTabulator).
  • Temporarily releases the tab key when the gadget gets the focus (#UseTabulator).
GUI color themes
  • change the color theme of all supported gadgets with one command
Support of dynamic font
  • font management with support for dynamic character sets
Global cursor event (thread) for all gadgets that need a blinking cursor (#CursorEvent)
  • BindEvent(ModulEx::#Event_Cursor, @_CursorDrawing(), WindowNum)
  • Cursor thread is automatically terminated when the last window is closed.
Uniform EventType constants for PostEvent() to avoid conflicts with different modules.
  • PostEvent(#PB_Event_Gadget, WindowNum, GadgetNum, ModulEx::#EventType_Button)

Code: Select all

; ModuleEx::AddGadget()                - add a gadget for tabulator handling  (#UseTabulator|#IgnoreTabulator)
; ModuleEx::AddWindow()                - enables the tabulator handling for this window  (#Tabulator|#CursorEvent)
; ModuleEx::CursorFrequency()          - changes the cursor frequency (default: 600ms)
; ModuleEx::ExitCursorThread()         - exit cursor thread
; ModuleEx::Font()                     - similar to 'LoadFont()' (supports dynamic fonts)
; ModuleEx::FreeFonts()                - free dynamic font data
; ModuleEx::GetGadgetWindow()          - returns the number of the window in which the gadget is located
; ModuleEx::LoadTheme()                - load a theme for all supportet gadgets
; ModuleEx::RequiredFontSize()         - calculates the required font size
; ModuleEx::SetAttribute()             - [#Padding/#PaddingX/#PaddingY]
; ModuleEx::SetFont()                  - similar to 'SetGadgetFont()' (supports dynamic fonts)
; ModuleEx::SaveTheme()                - save current theme
; ModuleEx::SetColor()                 - change the theme color of all supported gadgets
; ModuleEx::SetTheme()                 - set a theme for all supportet gadgets
Download: ModuleEx.pbi
Last edited by Thorsten1867 on Sat Nov 23, 2019 1:15 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

PreView Gadget - Module (All OS / DPI / 64Bit)
  • Preview images, XML, JSON, and text
  • automatically adjust the gadget size if the content is smaller than the gadget
  • automatic window adjustment possible [#ResizeWindow]

Code: Select all

; PreView::Gadget()             - create gadget
; PreView::FileImage()          - load a image file and preview it
; PreView::FileJSON()           - load a json file and preview it
; PreView::FileText()           - load a text file and preview it
; PreView::FileXML()            - load a xml file and preview it
; PreView::Image()              - preview image
; PreView::JSON()               - preview JSON
; PreView::Text()               - preview text string
; PreView::XML()                - previev xml  
; PreView::SetAutoResizeFlags() - [#MoveX|#MoveY|#ResizeWidth|#ResizeHeight]
; PreView::SetColor()           - similar to 'SetGadgetColor()'
; PreView::SetFont()            - similar to 'SetFont()'
Download: PreViewModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ProgressBarEx - Module (all OS / 64Bit / DPI)
  • Change all colors (#FrontColor/#BackColor/#ProgressBarColor/#GradientColor/#BorderColor)
  • additionally display percentage at end of progress bar (#ShowPercent)
  • additionally show text in progress bar (e.g. file name)
  • automatic size adjustment possible (#AutoResize)

Code: Select all

; ProgressEx::Gadget()             - similar to ProgressBarGadget()
; ProgressEx::GetAttribute()       - similar to GetGadgetAttribute()
; ProgressEx::GetState()           - similar to GetGadgetState()
; ProgressEx::SetAutoResizeFlags() - defines the behavior of AutoResize
; ProgressEx::SetAttribute()       - similar to SetGadgetAttribute()
; ProgressEx::SetColor()           - similar to SetGadgetColor()
; ProgressEx::SetFont()            - similar to SetGadgetFont()
; ProgressEx::SetState()           - similar to SetGadgetState()
; ProgressEx::SetText()            - similar to SetGadgetText()
Download: ProgressBarExModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ResizeEx - Module (All OS)
  • Store & restore window size, position and state
  • Automatic size adjustment for gadgets [#MoveX|#MoveY|#Width|#Height]
  • Automatic horizontal & vertical centering [#HCenter/#VCenter]
  • Proportional size adjustment in percent [#HFactor/#VFactor]
  • Support of containers
  • Automatic size adjustment for a defined ListIcon column

Code: Select all

  ; Window::Free()                - Delete all data
  ; Window::RestoreData()         - Restore position, size and state of the window
  ; Window::StoreData()           - Store position, size and state of the window
  ; Window::Save()                - Save data off all windows
  ; Window::Load()                - Load data off all windows

  ; Resize::AddContainer()        - Add container for automatic size adjustment of the contained gadgets
  ; Resize::AddWindow()           - Add window for automatic resizing
  ; Resize::AddGadget()           - Add gadget for automatic resizing
  ; Resize::Free()                - Delete all data
  ; Resize::RemoveContainer()     - Remove all resize data for this container
  ; Resize::RemoveGadget()        - Stop resizing gadget and remove resize data
  ; Resize::RemoveWindow()        - Remove all resize data for this window (-> CloseWindow)
  ; Resize::RestoreWindow()       - Restore original window & gadgets size
  ; Resize::SelectWindow()        - Select a previously added window
  ; Resize::SetFactor()           - Set the factor for the movement and size adjustment (Default: 100%)
  ; Resize::SetListColumn()       - Define ListIcon column for automatic resizing
Download: ResizeExModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ResourceEx - Module (all OS / 64Bit)

Pack all resources of a program (e.g. images) into a single file and load them later directly from this file into memory.

Code: Select all

; ResourceEx::CreateSecureKey()
; ResourceEx::Close()    - Close resource file
; ResourceEx::UseImage() - Load image from resource file
; ResourceEx::UseJSON()  - Load JSON from resource file
; ResourceEx::UseMusic() - Load music from resource file
; ResourceEx::UseText()  - Load text from resource file
; ResourceEx::UseSound() - Load sound from resource file
; ResourceEx::UseXML()   - Load XML from resource file
; ResourceEx::Open()     - Open resource file
Download: ResourceExModule.pbi


Resource files can be easily created with qAES-Packer:

Image

Download: qAES-Packer.exe
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

DateEx Gadget - Module (all OS / DPI / 64Bit)
  • support of Date64
  • automatic size adjustment
  • support of GUI themes (needs ModuleEx.pbi)
Image

Code: Select all

; DateEx::GetData()            - similar to 'GetGadgetData()'
; DateEx::GetID()              - similar to 'GetGadgetData()', but it uses a string
; DateEx::SetData()            - similar to 'SetGadgetData()'
; DateEx::SetID()              - similar to 'SetGadgetData()', but it uses a string
; DateEx::DisableReDraw()      - deaktivate/aktivate redrawing
; DateEx::Gadget()             - similar to 'DateGadget()'
; DateEx::GetState()           - similar to 'GetGadgetState()'
; DateEx::GetText()            - similar to 'GetGadgetText()'
; DateEx::Hide()               - similar to 'HideGadget()'
; DateEx::SetAutoResizeFlags() - [#MoveX|#MoveY|#Width|#Height]
; DateEx::SetAttribute()       - similar to 'SetGadgetAttribute()'
; DateEx::SetColor()           - similar to 'SetGadgetColor()'
; DateEx::SetFont()            - similar to 'SetGadgetFont()'
; DateEx::SetState()           - similar to 'SetGadgetState()'
; DateEx::SetText()            - similar to 'SetGadgetText()'
Download: DateExModule.pbi
Last edited by Thorsten1867 on Fri Dec 20, 2019 4:12 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

Calendar Gadget - Module (all OS / DPI / 64Bit)

Calendar is the light version of CalendarEx and is only intended for selecting a date.
  • support of Date64
  • automatic size adjustment
  • support of GUI themes (needs ModuleEx.pbi)
Image

Code: Select all

; Calendar::DefaultCountry()     - set default language for all gadgets
; Calendar::Disable()            - similar to 'DisableGadget()'
; Calendar::DisableReDraw()      - disable/enable redrawing of the gadget
; Calendar::Gadget()             - similar to 'CalendarGadget()'
; Calendar::GetAttribute()       - similar to 'GetGadgetAttribute()'
; Calendar::GetData()            - similar to 'GetGadgetData()'
; Calendar::GetDate()            - similar to 'Date()', but 64Bit
; Calendar::GetDay()             - returns selected day
; Calendar::GetID()              - similar to 'GetGadgetData()', but string instead of quad
; Calendar::GetMonth()           - returns selected month
; Calendar::GetState()           - similar to 'GetGadgetState()'
; Calendar::GetText()            - similar to 'GetGadgetText()'
; Calendar::GetYear()            - returns selected year
; Calendar::Hide()               - similar to 'HideGadget()'
; Calendar::MonthName()          - returns name of month in the current language
; Calendar::SetAutoResizeFlags() - [#MoveX|#MoveY|#Width|#Height]
; Calendar::SetColor()           - similar to 'SetGadgetColor()'
; Calendar::SetData()            - similar to 'SetGadgetData()'
; Calendar::SetDate()            - set date
; Calendar::SetFont()            - similar to 'SetGadgetFont()'
; Calendar::SetID()              - similar to 'SetGadgetData()', but string instead of quad
; Calendar::SetState()           - similar to 'SetGadgetState()'
; Calendar::WeekDayName()        - returns name of weekday in the current language
Download: CalendarModule.pbi
Last edited by Thorsten1867 on Fri Dec 20, 2019 4:13 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

[Windows 11 x64] [PB V5.7x]
User avatar
Thorsten1867
Addict
Addict
Posts: 1366
Joined: Wed Aug 24, 2005 4:02 pm
Location: Germany

Re: [Module] PureBasic V5.7x (DPI)

Post by Thorsten1867 »

ListViewEx Gadget - Module (all OS / DPI / 64Bit)
  • colors for single rows
  • dynamic popup menu item text (e.g. "Delete #Row$")
  • automatic size adjustment
  • support of GUI themes (needs ModuleEx.pbi)
Image _____ Image _____ Image

Code: Select all

; ListView::AddItem()            - similar to 'AddGadgetItem()'
; ListView::AttachPopupMenu()    - attach a popup menu to the list
; ListView::ClearItems()         - similar to 'ClearGadgetItems()'
; ListView::CountItems()         - similar to 'CountGadgetItems()'
; ListView::DisableReDraw()      - disable/enable redrawing of the gadget
; ListView::Gadget()             - similar to 'ListViewGadget()'
; ListView::GetData()            - similar to 'GetGadgetData()'
; ListView::GetID()              - similar to 'GetGadgetData()', but string instead of quad
; ListView::GetItemData()        - similar to 'GetGadgetItemData()'
; ListView::GetItemLabel()       - similar to 'GetGadgetItemData()', but string instead of quad
; ListView::GetItemState()       - similar to 'GetGadgetItemState()'
; ListView::GetItemText()        - similar to 'GetGadgetItemText()'
; ListView::GetLabelText()       - similar to 'GetGadgetItemText()', but label instead of row
; ListView::GetState()           - similar to 'GetGadgetState()'
; ListView::GetText()            - similar to 'GetGadgetText()'
; ListView::Hide()               - similar to 'HideGadget()'
; ListView::RemoveItem()         - similar to 'RemoveGadgetItem()'
; ListView::SetAutoResizeFlags() - [#MoveX|#MoveY|#Width|#Height]
; ListView::SetColor()           - similar to 'SetGadgetColor()'
; ListView::SetData()            - similar to 'SetGadgetData()'
; ListView::SetFont()            - similar to 'SetGadgetFont()'
; ListView::SetID()              - similar to 'SetGadgetData()', but string instead of quad
; ListView::SetItemData()        - similar to 'SetGadgetItemData()'
; ListView::SetItemImage()       - similar to 'SetGadgetItemImage()'
; ListView::SetItemLabel()       - similar to 'SetGadgetItemData()', but string instead of quad
; ListView::SetItemState()       - similar to 'SetGadgetItemState()'
; ListView::SetItemText()        - similar to 'SetGadgetItemText()'
; ListView::SetLabelText()       - similar to 'SetGadgetItemText()', but label instead of row
; ListView::SetRowHeight()       - change the rows height
; ListView::SetState()           - similar to 'SetGadgetState()'
; ListView::SetText()            - similar to 'SetGadgetText()'
; ListView::UpdatePopupText()    - define dynamic menu item text [#Label$/#Index$/#Row$/#String$]
Download: ListViewExModule.pbi
Translated with http://www.DeepL.com/Translator

Download of PureBasic - Modules
Download of PureBasic - Programs

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