I know that Sergey. I just wanted to know that since the BROWSE has a DESTROY() event whether there is any way to hook into this.
>Hi Bernard,
>
>I wouldn't recomend using BROWSE command in application. It's a developer tool. You should use a form with a grid instead.
>
>>
>>I am trying to do something similar - except that I have in the line after Browse:
>>
>>oBr.DynamicForeColor = IIF(fld1......
>>....
>>....
>>READ EVENTS
>>
>>The above "READ EVENTS"is so that the app waits while the browse is onscreen, rather than flowing thru if no read events is inserted. Problem is that when the Browse is closed the Read Events is still in effect.
>>
>>I tested while toggling Event viewing On and the output showed :
>>
>>oBr.Destroy() being called followed by the DESTROY() of each column in the Browse, starting with column1.
>>
>>I thought that if I could hook into that oBr.Destroy() I could issue a CLEAR EVENTS which is what I am trying to achieve.
>>
>>Problem is I don't know how to hook in. The VFP Help file is useless for this.
>>