[Modules] ListEx (all OS / DPI)
Posted: Tue Mar 05, 2019 11:13 am
ListEx Gadget - Module (all OS / DPI / 64Bit)
Download: ListExModule.pbi
- Gadget: #GridLines / #NoRowHeader / #NumberedColumn (= Column 0 with line numbers)
- Support of images with/without text or for buttons
- editable columns (Strings/CheckBoxes/ComboBoxes/DateGadgets)
- Columns with events (Buttons / Links / Header-Click)
- Sortable columns (String / Integer / Float / Date / Birthday / Time / Money)
- Sorted according to German rules (encyclopedia or telephone book)
- Sort by header click (#SortArrows / #SwitchDirection)
- Automatically reduces the size of a defined column when the horizontal scroll bar becomes visible
- Labels for columns for easier query
- Data (Integer) and ID (String) can be specified for each list line
- automatic size adjustment to window (#MoveX|#MoveY|#ResizeWidth|#ResizeHeight)
Code: Select all
; ListEx::AddCells() - adds a new row and insert text in cells with label
; ListEx::AddColumn() - similar to 'AddGadgetColumn()'
; ListEx::AddComboBoxItems() - add items to the comboboxes of the column (items seperated by #LF$)
; ListEx::AddItem() - similar to 'AddGadgetItem()'
; ListEx::CountItems() - similar to 'CountGadgetItems()' [#Selected/#Checked/#Inbetween]
; ListEx::ChangeCountrySettings() - change default settings
; ListEx::ClearComboBoxItems() - clear items of the comboboxes of the column
; ListEx::ClearItems() - similar to 'ClearGadgetItems()'
; ListEx::ClipBoard() - copy selected items to clipboard (CSV)
; ListEx::DisableEditing() - disable editing for the complete list
; ListEx::DisableReDraw() - disable redraw
; ListEx::EventColumn() - column of event (Event: ListEx::#Event_Module)
; ListEx::EventRow() - row of event (Event: ListEx::#Event_Module)
; ListEx::EventState() - returns state (e.g. CheckBox / DateGadget)
; ListEx::EventValue() - returns value (string)
; ListEx::EventID() - returns row ID or header label
; ListEx::ExportCSV() - export CSV-file from list
; ListEx::Gadget() - [#GridLines|#NumberedColumn|#NoRowHeader]
; ListEx::GetAttribute() - similar to 'GetGadgetAttribute()'
; ListEx::GetCellText() - similar to 'GetGadgetItemText()' with labels
; ListEx::GetCellState() - similar to 'GetGadgetItemState()' with labels
; ListEx::GetChangedState() - check whether entries have been edited
; ListEx::GetColumnAttribute() - similar to 'GetGadgetItemAttribute()'
; ListEx::GetColumnFromLabel() - returns column number for this label
; ListEx::GetColumnLabel() - returns the label of the column
; ListEx::GetColumnState() - similar to 'GetGadgetItemState()' for a specific column
; ListEx::GetItemData() - similar to 'GetGadgetItemData()'
; ListEx::GetItemID() - similar to 'GetGadgetItemData()' but with string data
; ListEx::GetItemState() - similar to 'GetGadgetItemState()' [#Selected/#Checked/#Inbetween]
; ListEx::GetItemText() - similar to 'GetGadgetItemText()'
; ListEx::GetRowFromLabel() - returns row number for this label
; ListEx::GetRowLabel() - returns the label of the row
; ListEx::GetState(GNum.i) - similar to 'GetGadgetState()'
; ListEx::Hide() - similar to 'HideGadget()', but disables redrawing of the canvas gadget
; ListEx::HideColumn() - hides a column
; ListEx::ImportCSV() - import CSV-file to list
; ListEx::Refresh() - redraw gadget
; ListEx::RemoveCellFlag() - removes a flag
; ListEx::RemoveColumn() - similar to 'RemoveGadgetColumn()'
; ListEx::RemoveColumnFlag() - removes a column flag
; ListEx::RemoveFlag() - removes a gadget flag
; ListEx::RemoveItem() - similar to 'RemoveGadgetItem()'
; ListEx::RemoveItemState() - removes #Selected / #Checked / #Inbetween
; ListEx::ResetChangedState() - reset to not edited
; ListEx::SelectItems() - select all rows [#All/#None]
; ListEx::SetAttribute() - similar to SetGadgetAttribute() [#Padding]
; ListEx::SetAutoResizeColumn() - column that is reduced when the vertical scrollbar is displayed.
; ListEx::SetAutoResizeFlags() - [#MoveX|#MoveY|#Width|#Height]
; ListEx::SetCellFlags() - [#LockCell|#Strings|#ComboBoxes|#Dates]
; ListEx::SetCellState() - similar to 'SetGadgetItemState()' with labels
; ListEx::SetCellText() - similar to 'SetGadgetItemText()' with labels
; ListEx::SetColor() - similar to 'SetGadgetColor()'
; ListEx::SetColorTheme() - change the color theme
; ListEx::SetColumnAttribute() - [#Align/#ColumnWidth/#Font]
; ListEx::SetColumnFlags() - [#FitColumn | #Left/#Right/#Center]
; ListEx::SetColumnState() - similar to 'SetGadgetItemState()' for a specific column
; ListEx::SetCurrency() -
; ListEx::SetDateMask() - similar to 'SetGadgetText()' and 'DateGadget()'
; ListEx::SetDateAttribute() - similar to 'SetGadgetAttribute()' and 'DateGadget()'
; ListEx::SetFlags() - set gadget flags
; ListEx::SetFont() - similar to 'SetGadgetFont()'
; ListEx::SetHeaderAttribute() - [#Align]
; ListEx::SetHeaderHeight() - set header height
; ListEx::SetHeaderSort() - enable sort by header column [#Sort_Ascending|#Sort_Descending|#Sort_NoCase|#Sort_SwitchDirection]
; ListEx::SetItemAttribute() - similar to 'SetGadgetItemAttribute()'
; ListEx::SetItemColor() - similar to 'SetGadgetItemColor()'
; ListEx::SetItemData() - similar to 'SetGadgetItemData()'
; ListEx::SetItemFont() - change font of row or header [#Header]
; ListEx::SetItemID() - similar to 'SetGadgetItemData()' but with string data
; ListEx::SetItemImage( ) - add a image at row/column
; ListEx::SetItemState() - similar to 'SetGadgetItemState()' [#Selected/#Checked/#Inbetween]
; ListEx::SetItemText() - similar to 'SetGadgetItemText()'
; ListEx::SetProgressBarAttribute() - set minimum or maximum value for progress bars
; ListEx::SetProgressBarFlags() - set flags for progressbar (#ShowPercent)
; ListEx::SetRowsHeight() - change height of rows
; ListEx::SetTimeMask() - change mask for time (sorting)
; ListEx::Sort() - sort rows by column [#SortString|#SortNumber|#SortFloat|#SortDate|#SortBirthday|#SortTime|#SortCash / #Deutsch]