HMG 3.4.4
Moderator: Rathinagiri
- mol
- Posts: 3253
- Joined: Thu Sep 11, 2008 5:31 am
- Location: Myszków, Poland
- Has thanked: 235 times
- Been thanked: 132 times
- Contact:
Re: HMG 3.4.4
I found strange behavior of GRID control.
I'm using virtual grid, with width almost equal to sum of column widths (+10 pixels)
When I edit inner columns, everything works ok, when I wat to edit last column - there is no possibility to enter edit mode.
Whe I've increased grid width, editing last column is possible.
I've lost few hours yesterday to find the reason of impossibility of editing cells.
Is it the way to improve grid to exclude such situations?
I'm using virtual grid, with width almost equal to sum of column widths (+10 pixels)
When I edit inner columns, everything works ok, when I wat to edit last column - there is no possibility to enter edit mode.
Whe I've increased grid width, editing last column is possible.
I've lost few hours yesterday to find the reason of impossibility of editing cells.
Is it the way to improve grid to exclude such situations?
- serge_girard
- Posts: 2379
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Has thanked: 630 times
- Been thanked: 127 times
- Contact:
-
- Posts: 519
- Joined: Thu Oct 16, 2014 11:35 am
- Location: Poland
- Has thanked: 137 times
- Been thanked: 440 times
I have not found in the ListView documentation (Grid is built on this) how to change the color of the grid lines. https://docs.microsoft.com/en-us/window ... nce-macros
- serge_girard
- Posts: 2379
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Has thanked: 630 times
- Been thanked: 127 times
- Contact:
-
- Posts: 519
- Joined: Thu Oct 16, 2014 11:35 am
- Location: Poland
- Has thanked: 137 times
- Been thanked: 440 times
Probably not so obvious. Themes change affects gridlines color.
In other forums, they describe the solution consisting in additional lines drawing: http://www.vbforums.com/showthread.php? ... -thickness
Such a solution would have to be associated with changes in grid sources and I do not know if it will slow down its operation significantly. There may also be problems when scrolling the grid.
- mol
- Posts: 3253
- Joined: Thu Sep 11, 2008 5:31 am
- Location: Myszków, Poland
- Has thanked: 235 times
- Been thanked: 132 times
- Contact:
Is it the way to synchronise horizontal scrolling of two grids?
I have one grid containing multiline header and second grid upon first containing report. When the report is wider than screen, user must scroll it.
Second question
We have LOCKCOLUMNS in GRID control. Is it the way to realize something like LOCKROWS?
Third question
Can we create GRID with multiline header?
Fourth question
How to hide scrollbars in grid?
I have one grid containing multiline header and second grid upon first containing report. When the report is wider than screen, user must scroll it.
Second question
We have LOCKCOLUMNS in GRID control. Is it the way to realize something like LOCKROWS?
Third question
Can we create GRID with multiline header?
Fourth question
How to hide scrollbars in grid?