[Modules] ListEx (all OS / DPI)
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Bug fixed
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
Thank you!!, but I think you forgot to update Github file (last modification was 14 hours ago)Thorsten1867 wrote:Bug fixed
PB 6.0x, PureVision User.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Bugfix: brain memory error
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
Thank you
But no, when scrolling and selecting an item from the last ones, if you resize until the vertical bar disappears, the items that were not visible disappear.
Sincerely, thank you very much for your work.
But no, when scrolling and selecting an item from the last ones, if you resize until the vertical bar disappears, the items that were not visible disappear.
Sincerely, thank you very much for your work.
PB 6.0x, PureVision User.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Try it again.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
@zikitrake
What you use to create those small screen captures¿
What you use to create those small screen captures¿
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
Windows: Snipping ToolRinzwind wrote:@zikitrake
What you use to create those small screen captures¿
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Re: [Modules] ListEx (all OS / DPI)
@Thorsten1867: As far as I know, you can't create GIFs with the sniping tool.Thorsten1867 wrote:Windows: Snipping ToolRinzwind wrote:@zikitrake
What you use to create those small screen captures¿
@Rinzwind: I don't know which tool zikitrake uses, but I can recommend ScreenToGif.
Greetings ... Peter
Hygge
Re: [Modules] ListEx (all OS / DPI)
Yeah! It works fine now!Thorsten1867 wrote:Try it again.
Hi, I use http://gifrecorder.com/Rinzwind wrote:@zikitrake
What you use to create those small screen captures¿
PB 6.0x, PureVision User.
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: [Modules] ListEx (all OS / DPI)
Having just a little problem.
Using this code
I create the List but the first thing I notice is that when clicking column 6 the row does not highlight. Clicking earlier columns the row highlights but only so far.
Then if i double click in the right hand portion of column 4 Column 6 appears ready to be edited.
What am I missing?
CD
Using this code
Code: Select all
IncludeFile "ListExModule.pbi"
Define AddLine.s
winAdminMain = OpenWindow(#PB_Any, 0, 0, 700, 410, "DB Admin", #PB_Window_SystemMenu|#PB_Window_ScreenCentered)
TestList = ListEx::Gadget(#PB_Any, 5, 5, 600, 350, "First Column", 80, "", ListEx::#GridLines|ListEx::#AutoResize) ; ListEx::#NoRowHeader|ListEx::#MultiSelect|ListEx::#NumberedColumn|ListEx::#CheckBoxes|ListEx::#SingleClickEdit|ListEx::#AutoResize
ListEx::AddColumn(TestList, 1, "Second", 75, "", ListEx::#Editable)
ListEx::AddColumn(TestList, ListEx::#LastItem, "Third",100, "")
ListEx::AddColumn(TestList, ListEx::#LastItem, "Fourth",100, "",ListEx::#FitColumn|ListEx::#Editable)
ListEx::AddColumn(TestList, ListEx::#LastItem, "Fith",100, "", ListEx::#FitColumn|ListEx::#Editable)
ListEx::AddColumn(TestList, ListEx::#LastItem, "Sixth",50, "", ListEx::#FitColumn|ListEx::#Editable)
AddLine = "Column 1" + #LF$ + "Column 2" + #LF$+ "Column 3" + #LF$+ "Column 4" + #LF$+ "Column 5" + #LF$+ "Column 6"
ListEx::AddItem(TestList, 0, AddLine)
AddLine = "Column 1" + #LF$ + "Column 2" + #LF$+ "Column 3" + #LF$+ "Column 4 Longer" + #LF$+ "Column 5" + #LF$+ "Column 6"
ListEx::AddItem(TestList, 1, AddLine)
Repeat
Event = WaitWindowEvent()
Select Event
Case #PB_Event_CloseWindow
End
Case #PB_Event_Menu
Select EventMenu()
EndSelect
Case #PB_Event_Gadget
Select EventGadget()
EndSelect
EndSelect
Then if i double click in the right hand portion of column 4 Column 6 appears ready to be edited.
What am I missing?
CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
I tried it with the current version of ListEx and couldn't find any problem.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: [Modules] ListEx (all OS / DPI)
Downloaded again no bother.
Just one more question how to get the row number after a right click?
Want to add delete rows at the selected row.
Thanks
CD
Just one more question how to get the row number after a right click?
Want to add delete rows at the selected row.
Thanks
CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
If there is no popup menu attached, you can query an event:
Code: Select all
Case ListEx::#Event_Gadget
Select EventType()
Case #PB_EventType_RightClick
Debug "RightClick: " + Str(EventData())
EndSelect
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
-
- Addict
- Posts: 1309
- Joined: Fri Aug 28, 2015 6:10 pm
- Location: Portugal
Re: [Modules] ListEx (all OS / DPI)
Hi Just tried:-
I only get an event when I left click no event when I right click.
There is no popup menu defined at all.
And in both cases the second debug statement is never fired.
Regards
CD
Code: Select all
Case ListEx::#Event_Gadget
Debug "Listex Event"
Select EventType()
Case #PB_EventType_RightClick
Debug "RightClick: " + Str(EventData())
Case #PB_EventType_LeftClick
Debug "LeftClick: " + Str(EventData())
EndSelect
There is no popup menu defined at all.
And in both cases the second debug statement is never fired.
Regards
CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Re: [Modules] ListEx (all OS / DPI)
You need ListEx with "Last Update: 23.08.2019"
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]