Page 15 of 33
Re: [Modules] ListEx (all OS / DPI)
Posted: Sun Nov 10, 2019 7:25 pm
by Thorsten1867
Update:
- Added: ListEx::SetColumnFlags() / RemoveColumnFlag()
- StringGadget() replaced by internal DrawString_()
- Addded: ListEx::Hide()
Code: Select all
ListEx::SetColumnFlags(#List, 3, ListEx::#Strings|ListEx::#Center)
ListEx::RemoveColumnFlag(#List, 3, ListEx::#Strings)
ListEx::Hide(#List, #True)
Re: [Modules] ListEx (all OS / DPI)
Posted: Mon Nov 11, 2019 5:59 pm
by Thorsten1867
Update: Added: CSV - support
Code: Select all
ListEx::ClipBoard(#List, ListEx::#Checked|ListEx::#HeaderRow, ",", #DQUOTE$)
ListEx::ExportCSV(#List, "Export.csv", ListEx::#HeaderRow)
ListEx::ImportCSV(#List, "Import.csv", ListEx::#HeaderRow, ",", "'")
Re: [Modules] ListEx (all OS / DPI)
Posted: Thu Nov 14, 2019 8:38 pm
by davido
@
Thorsten1867,
I have two questions about Listex:
1. I would like to temporarily #Lockcell. I can do this with
Code: Select all
ListEx::SetCellFlags(#List,5,2,ListEx::#LockCell)
However, I would like to reset the originals but there is no ListEx::GetCellFlags()
Do you have a recommended way of doing Unlocking a Locked cell?
2. I have noticed that locked cells still allow Drag/Drop to take place. Is this intended?
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 8:00 am
by Thorsten1867
davido wrote:@
Thorsten1867,
I have two questions about Listex:
1. I would like to temporarily #Lockcell. I can do this with
Code: Select all
ListEx::SetCellFlags(#List,5,2,ListEx::#LockCell)
However, I would like to reset the originals but there is no ListEx::GetCellFlags()
Do you have a recommended way of doing Unlocking a Locked cell?
1.
Code: Select all
RemoveCellFlag(#List,5,2,ListEx::#LockCell)
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 8:05 am
by Thorsten1867
davido wrote:@Thorsten18672. I have noticed that locked cells still allow Drag/Drop to take place. Is this intended?
2. Bug fixed
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 3:21 pm
by davido
@Thorsten1867,
Thank you for the update.
Unfortunately it fails to compile. The error is:
ThemeGUI\BackColor = BlendColor_(OSX_NSColorToRGB(CocoaMessage(0, 0, "NSColor textBackgroundColor")), $FFFFFF, 80)
[14:13:15] [COMPILER] Line 987: BlendColor_() is not a function, array, list, map or macro.
Model Name: MacBook Pro
Model Identifier: MacBookPro12,1
Processor Name: Intel Core i7
System Version: macOS 10.14.6 (18G1012)
Kernel Version: Darwin 18.7.0
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 3:30 pm
by davido
@Thorsten1867,
I have been using Listex [Last Update: 11.11.2019] on my Mac.
When entering text into an editable string by keyboard, the text appears in the header for column 0. The cell being edited is clear.
I checked this on my PC but that works perfectly.
I cannot recall if the problem exists with earlier versions, sorry.
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 4:54 pm
by Thorsten1867
@davido
This is a bug in PureBasic under MacOS.
I have implemented a workaround.
Champ de structure introuvable Font
Posted: Fri Nov 15, 2019 5:42 pm
by loulou2522
Helo,
In the last version the instruction
Ligne 3327 ListEXModule.pbi
If IsFont(ModuleEx::ThemeGUI\Font\Num)
Champ de structure introuvable Font
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 7:34 pm
by Thorsten1867
@loulou2522
Update "ModuleEx.pbi"
Re: [Modules] ListEx (all OS / DPI)
Posted: Fri Nov 15, 2019 8:35 pm
by davido
@
Thorsten1867,
Thank you, very much, for the rapid response.
Editing strings works fine, now.
I just love your casual comment:
Thorsten1867 wrote:
I have implemented a workaround.
I would just like to add:
ListEX is an excellent alternative to ListView and ListIcon gadgets.
It addresses all those annoying little omissions in those gadgets and
performs faster and cleaner.
It would be nice if such high quality gadgets could be added, in
some way, to PureBasic so that they would work natively with the
Dialog Library.
Thank you for all the hard work you have put into this project.
Re: [Modules] ListEx (all OS / DPI)
Posted: Sat Nov 16, 2019 11:38 am
by Thorsten1867
Update: Gadget number 'ListEx::#Theme' (#PB_Default) changes all gadgets for suitable commands
Code: Select all
ListEx::SetHeaderAttribute(ListEx::#Theme, ListEx::#Align, ListEx::#Center)
ListEx::SetColorTheme(#PB_Default, ListEx::#Theme_Blue)
This should significantly simplify the adjustments for a uniform design when using multiple lists.
Re: [Modules] ListEx (all OS / DPI)
Posted: Sun Nov 17, 2019 8:20 am
by Cyllceaux
Hi,
Now I got an error on Line 5596
Code: Select all
If #Version < ModuleEx::#Version : Debug "Please update ModuleEx.pbi" : EndIf
#Version do not exist
I always do a "git pull". So I have the actual version. I always use the ModuleEx from the ModuleEx repository, not the "sidefile" from ListEx
Re: [Modules] ListEx (all OS / DPI)
Posted: Sun Nov 17, 2019 12:25 pm
by Thorsten1867
Sorry, I must have uploaded the wrong version. (fixed)
Re: [Modules] ListEx (all OS / DPI)
Posted: Sun Nov 17, 2019 1:08 pm
by Thorsten1867
Update: new attribute '#MaxChars' (string gadget)
Code: Select all
ListEx::SetAttribute(#List, ListEx::#MaxChars, 10)