How to change browse view

Post Reply
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

How to change browse view

Post 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?
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Gale,

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

Antonio Linares
www.fivetechsoft.com
Post Reply