How to change browse view

How to change browse view

Postby Gale FORd » Tue Oct 31, 2006 9: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?
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Postby Antonio Linares » Tue Oct 31, 2006 10:31 pm

Gale,

Try with oBrw:End() instead of oBrw:destroy()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 89 guests