HMG 3.4.4

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.4

Post by mol »

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: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.4

Post by mol »

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: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.4

Post by mol »

Nobody knows how to chane color of inner lines of grid???
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG 3.4.4

Post by serge_girard »

Hi Marek,

I would also like to know!

Serge
There's nothing you can do that can't be done...
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: HMG 3.4.4

Post by edk »

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: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.4

Post by mol »

Maybe someone knows undocumented way...
If lines have colors, it must be the way to set others
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG 3.4.4

Post by serge_girard »

Maybe Claudio can show the way?

Serge
There's nothing you can do that can't be done...
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: HMG 3.4.4

Post by edk »

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: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.4.4

Post by mol »

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: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: HMG 3.4.4

Post by edk »

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