Error in grid

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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

Error in grid

Post by mol »

I've spent few time working with virtual grid.
And I've observed, REFRESH method does not refresh virtual grid!!!
The way to refresh, I've found, is set ItemCount property again.
Is it correct?
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: Error in grid

Post by Pablo César »

In my pratices with grid, seems only work by rebuilding itens with ADD ITEM.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3825
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Error in grid

Post by mol »

Pablo César wrote:In my pratices with grid, seems only work by rebuilding itens with ADD ITEM.
AddItem doesn't work with virtual grid...
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Re: Error in grid

Post by Pablo César »

ahhh virtual, sorry: probably does not work.

But normal grid yes it works !

For i=1 to Len(aLinha)
ADD ITEM aLinha To Grid_1 of Form_1
Next
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
mol
Posts: 3825
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Error in grid

Post by mol »

I want to refresh this topic to ask you:
Did you try to colorize virtual grid dynamically?
It's not working in my opinion.

Am I wrong?
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Error in grid

Post by esgici »

Hi Marek
mol wrote:I've spent few time working with virtual grid.
And I've observed, REFRESH method does not refresh virtual grid!!!
The way to refresh, I've found, is set ItemCount property again.
Is it correct?
mol wrote:AddItem doesn't work with virtual grid...
Did you tried LL_DBU :?:

It have some experimental works for both REFRESH and ADDITEM methods.

I hope that help you.

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
Post Reply