FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse refresh
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
xbrowse refresh
Posted: Tue Sep 09, 2014 06:58 PM

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.

Posts: 2064
Joined: Fri Jan 06, 2006 09:28 PM
Re: xbrowse refresh
Posted: Wed Sep 10, 2014 01:41 AM
Intenta en este orden, saludos... :-)

Code (fw): Select all Collapse
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!
Posts: 332
Joined: Thu Nov 17, 2005 09:11 PM
Re: xbrowse refresh
Posted: Thu Sep 11, 2014 01:29 PM
joseluisysturiz wrote:Intenta en este orden, saludos... :-)

Code (fw): Select all Collapse
oBrw:nHeaderHeight :=30
oBrw:nStretchCol := STRETCHCOL_LAST

oBrw:SetArray( VetItem)

oBrw:GoBottom()
oBrw:Refresh()
xSetFocus(oBrw)


Perfect! Thank you very much!

Continue the discussion