Help with Virtual Grid

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Help with Virtual Grid

Post by srvet_claudio »

Maybe:

<WindowName>.<GridName>.Refresh(.T.)
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Help with Virtual Grid

Post by mol »

I'm not using virtual grid for dbf files.
I'm editing monthly sheet with income and expenditure
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Help with Virtual Grid

Post by mol »

srvet_claudio wrote: Wed Feb 24, 2021 4:29 pm Maybe:

<WindowName>.<GridName>.Refresh(.T.)
What does parameter of REFRESH mean?
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Help with Virtual Grid

Post by srvet_claudio »

Hmg doc:
Data-bound Grid supports an optional logical parameter. When set to .t., the selected logical records is preserved
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Help with Virtual Grid

Post by mol »

But it's virtual grid.
I observe flickering of whole grid after editing only one cell.
Maybe it's visible because of using different colors for each cell?
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Help with Virtual Grid

Post by edk »

Marku, próbowałeś tego?: <ParentWindowName>.<GridControlName>.PaintDoubleBuffer [ := | -->] lBoolean // Paints via double-buffering, which reduces flicker
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Help with Virtual Grid

Post by mol »

Spróbuję, dzięki za podpowiedź.
Now, it looks great!
I forgot about this property.
Many thanks, Edward! You are great!

Yo aprendo espanol :roll: Yo se como escribir: Muchas gracias :lol:
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Help with Virtual Grid

Post by srvet_claudio »

By default in hmg PaintDoubleBuffer is not true?
I'm an old and forgotten man ... :lol:
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply