HMG 3.4.4

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Re: HMG 3.4.4

Post by mol » Thu Jan 10, 2019 3:20 pm

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?

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Post by mol » Wed Jan 16, 2019 3:20 pm

I want to ask if it's the way to change color of internal lines in grid? Now they are grey, my client wants to change them to black...

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Post by mol » Sat Jan 19, 2019 5:00 pm

Nobody knows how to chane color of inner lines of grid???

User avatar
serge_girard
Posts: 2361
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 612 times
Been thanked: 124 times
Contact:

Post by serge_girard » Sat Jan 19, 2019 5:51 pm

Hi Marek,

I would also like to know!

Serge

edk
Posts: 504
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 137 times
Been thanked: 416 times

Post by edk » Sat Jan 19, 2019 7:05 pm

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

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Post by mol » Sat Jan 19, 2019 9:32 pm

Maybe someone knows undocumented way...
If lines have colors, it must be the way to set others

User avatar
serge_girard
Posts: 2361
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 612 times
Been thanked: 124 times
Contact:

Post by serge_girard » Sun Jan 20, 2019 9:10 am

Maybe Claudio can show the way?

Serge

edk
Posts: 504
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 137 times
Been thanked: 416 times

Post by edk » Sun Jan 20, 2019 11:29 am

mol wrote:
Sat Jan 19, 2019 9:32 pm
Maybe someone knows undocumented way...
If lines have colors, it must be the way to set others
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.

User avatar
mol
Posts: 3248
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 231 times
Been thanked: 132 times
Contact:

Post by mol » Sun Jan 20, 2019 8:42 pm

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?

edk
Posts: 504
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 137 times
Been thanked: 416 times

Post by edk » Tue Jan 22, 2019 1:58 pm

mol wrote:
Sun Jan 20, 2019 8:42 pm
Is it the way to synchronise horizontal scrolling of two grids?
Similar topic: http://hmgforum.com/viewtopic.php?p=40803#p40803
mol wrote:
Sun Jan 20, 2019 8:42 pm
How to hide scrollbars in grid?
http://hmgforum.com/viewtopic.php?p=53998#p53998

Post Reply