Page 1 of 1

How to change browse view

Posted: Tue Oct 31, 2006 9:35 pm
by Gale FORd
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?

Posted: Tue Oct 31, 2006 10:31 pm
by Antonio Linares
Gale,

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