xbrowse refresh

xbrowse refresh

Postby Wanderson » Tue Sep 09, 2014 6: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.
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm

Re: xbrowse refresh

Postby joseluisysturiz » Wed Sep 10, 2014 1:41 am

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

Code: Select all  Expand view

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!
User avatar
joseluisysturiz
 
Posts: 2064
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela

Re: xbrowse refresh

Postby Wanderson » Thu Sep 11, 2014 1:29 pm

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

Code: Select all  Expand view

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

oBrw:SetArray( VetItem)

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


Perfect! Thank you very much!
Wanderson
 
Posts: 332
Joined: Thu Nov 17, 2005 9:11 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 84 guests