Page 2 of 2
Re: Help with Virtual Grid
Posted: Wed Feb 24, 2021 4:29 pm
by srvet_claudio
Maybe:
<WindowName>.<GridName>.Refresh(.T.)
Re: Help with Virtual Grid
Posted: Wed Feb 24, 2021 8:58 pm
by mol
I'm not using virtual grid for dbf files.
I'm editing monthly sheet with income and expenditure
Re: Help with Virtual Grid
Posted: Wed Feb 24, 2021 8:59 pm
by mol
srvet_claudio wrote: ↑Wed Feb 24, 2021 4:29 pm
Maybe:
<WindowName>.<GridName>.Refresh(.T.)
What does parameter of REFRESH mean?
Re: Help with Virtual Grid
Posted: Wed Feb 24, 2021 10:38 pm
by srvet_claudio
Hmg doc:
Data-bound Grid supports an optional logical parameter. When set to .t., the selected logical records is preserved
Re: Help with Virtual Grid
Posted: Thu Feb 25, 2021 12:32 pm
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?
Re: Help with Virtual Grid
Posted: Thu Feb 25, 2021 1:15 pm
by edk
Marku, próbowałeś tego?: <ParentWindowName>.<GridControlName>.PaintDoubleBuffer [ := | -->] lBoolean // Paints via double-buffering, which reduces flicker
Re: Help with Virtual Grid
Posted: Thu Feb 25, 2021 1:32 pm
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
Yo se como escribir: Muchas gracias
Re: Help with Virtual Grid
Posted: Thu Feb 25, 2021 4:03 pm
by srvet_claudio
By default in hmg PaintDoubleBuffer is not true?
I'm an old and forgotten man ...