[futurebasic] Re: [FB] Databrowser ?s

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2005 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Mon, 17 Jan 2005 17:09:28 +0100
Steve Crossman a écrit :
> Alain,
>     that indeed fixes the problem. I will once again try to incorporate 
> the changes and DBFD#11 into my code and eliminate some form based 
> editing and use the DataBrowser.

Well, this was not over for me, because many other examples didn't work 
properly any longer after the change. I vaguely remember that I added 
the "faulty" statement because of the display problems that appeared I 
think with Panther.

To fix all the newly broken examples, I had to add after inserting the 
items in the DataBrowser, albeit somewhat reluctantly, the following 
statement to get the things going again:

Fn BrowserUpdateItems( browser, 0, #0, 0 )

But then DBFD#11 couldn't use the toggling arrows anymore while 
double-clicking was doing marvel. I had to investigate further and it 
seemed an additional cure was in order. The thing was driving me nuts 
for a while until I removed from Fn DBFDAddRemoveItems in DataBrowser 
For Dummies.Incl file yet another statement, the last in the routine:

If err = _noErr Then Fn BrowserUpdate( browser )

Now, I must check one more time all the examples, hoping you will not 
ever hear from me afterward or just to post a link to the updated DBFD