Issues:
1. If I LeftClick the top left grid header, it sorts according to Column 1.
Normally, that = select all cells?
Where to call SelectAll(GID)? Line 6720 seems possible, but need to query GridEx for top left grid.
Code: Select all
Case #PB_EventType_LeftButtonDown ;{ LeftButtonDown
X = GetGadgetAttribute(Grid()\CanvasID, #PB_Canvas_MouseX)
Y = GetGadgetAttribute(Grid()\CanvasID, #PB_Canvas_MouseY)
ColArea = _AreaCol_Of_X(GID, X)
RowArea = _AreaRow_Of_Y(GID, Y)
Grid()\Mouse\DownX = X
Grid()\Mouse\DownY = Y
Grid()\Mouse\DownAreaRow = RowArea
Grid()\Mouse\DownAreaCol = ColArea
If RowArea > 0 And ColArea > 0
RemoveSelection(GID)
SelectElement(Grid()\Row\AreaList(), RowArea)
SelectElement(Grid()\Col\AreaList(), ColArea)
ShowCell(GID, Grid()\Row\AreaList()\AreaRow, Grid()\Col\AreaList()\AreaCol, #True)
Else
SelectAll(GID) ;<-- This needs additional filter for ONLY top left header click?
EndIf ;}
2.
Example 1 and resize window width to a minimum. wrote:[14:03:02] Waiting for executable to start...
[14:03:02] Executable type: Windows - x64 (64bit, Unicode, Thread)
[14:03:02] Executable started.
[14:04:42] [ERROR] GridExModule.pbi (Line: 3120)
[14:04:42] [ERROR] The list doesn't have a current element.
[14:04:49] [ERROR] GridExModule.pbi (Line: 3120)
[14:04:49] [ERROR] Invalid memory access. (read error at address 18446744073709551615)
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum