FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to change browse view
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
How to change browse view
Posted: Tue Oct 31, 2006 09:35 PM

I am using TSBrowse() and would like to be able to change the "View" without closing the window. The view includes cmfilter and columns including the column order.
My thought is not to delete each column and add them back with the new information.
I have tried to do

oBrw:destroy()
// create new browse then
oWnd:SetControl( oBrw )

This works except the mouse does not work inside browse. The arrow keys work and the button bar works, it seems to be just a problem with the mouse.

Any better ideas on changing "Views" like this?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to change browse view
Posted: Tue Oct 31, 2006 10:31 PM

Gale,

Try with oBrw:End() instead of oBrw:destroy()

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion