xbrowse refresh

Post Reply
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

xbrowse refresh

Post by Wanderson »

Hi I have a array xbrowse but If add a first record the xbrowse still empty, but if i move the mouse in xbrowse area the record show.

This is my code:

AADD( VetItem, { Cod_Pro , Nom_Pro, oArqItem:UNIDADE , Qtd_Pro, Tip_Ava, oArqItem:VALORUN, oArqItem:VALIDADE, oArqItem:EAN, Num_Not })

oBrw:SetArray( VetItem)
oBrw:nHeaderHeight :=30
oBrw:nStretchCol := STRETCHCOL_LAST
oBrw:GoBottom()
oBrw:Refresh()
xSetFocus(oBrw)

Any sugestion?

Thanks in advance.
Wanderson.
User avatar
joseluisysturiz
Posts: 2024
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela
Contact:

Re: xbrowse refresh

Post by joseluisysturiz »

Intenta en este orden, saludos... :shock:

Code: Select all

oBrw:nHeaderHeight :=30
oBrw:nStretchCol := STRETCHCOL_LAST

oBrw:SetArray( VetItem)

oBrw:GoBottom()
oBrw:Refresh()
xSetFocus(oBrw)
 
Dios no está muerto...

Gracias a mi Dios ante todo!
Wanderson
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: xbrowse refresh

Post by Wanderson »

joseluisysturiz wrote:Intenta en este orden, saludos... :shock:

Code: Select all

oBrw:nHeaderHeight :=30
oBrw:nStretchCol := STRETCHCOL_LAST

oBrw:SetArray( VetItem)

oBrw:GoBottom()
oBrw:Refresh()
xSetFocus(oBrw)
 
Perfect! Thank you very much!
Post Reply