[futurebasic] Re: [FB] browser gurus

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : October 2004 : Group Archive : Group : All Groups

From: Bernie Wylde <bernie.w@...>
Date: Sat, 16 Oct 2004 07:44:49 +0100
The BGs replied:

Wave:
> Are you sure you arent using kDataBrowserContainerClosing vs 
> kDataBrowserContainerClosed?
> That would be closer to what your descibing. At the moment thats all I 
> can think of.

I tried it with both but still same.


Alain:
> I'm not sure I understand completely your problem, but why don't you 
> post an event in the queue so that your prog can react once the 
> notification callback is exited?

Never thought of that and it works but I get this horrible flash as the 
column first shrinks and is then resized by my function.



Flipping a container shut, gives us the following item notification 
messages:

_kDataBrowserUserToggledContainer
_kDataBrowserContainerClosing
_kDataBrowserItemRemoved       < once for each sub item
_kDataBrowserContainerClosed

which looks about right to me.

If I stick a beep and a delay under _kDataBrowserContainerClosed, I get 
the beep as the arrow reaches south-east (not fully collapsed). This is 
a bit too early for my change column width function to be called.

What's confusing is when the container is opened, the beep occurs in 
the same place but, in this instance my function does its business 
correctly.


Confused in Camelot

Sir Browsealot

(Nice one Brian  :)