I was created toolbar items by coding. Now I deleted it and created it by
using IB. Then all are working well.

Thanks a lot.
mahaboob


On 1/1/09 7:30 PM, "Timothy Larkin" <t...@cornell.edu> wrote:

> I don't understand what you mean by "calling this method from toolbar". How
> does control go to the toolbar?
> 
>  
> --
>  
> 
> Timothy Larkin
>  
> 
> Abstract Tools
>  
> 
> Caroline, NY
>  
>  
> 
> On Jan 1, 2009, at 2:05 AM, Mahaboob wrote:
> 
>>  
>>  When I¹m calling this method from toolbar in the main window,
>>  first the outlineView shows the value ³0x0² then it call another method,
>> that queries the database retrieves all the data needed, and then control
>> goes to [OutlineView reloadData]; .then also outlineView shows the value
>> ³0x0². Then it fires the event numberOfChildrenOfItem and it returns 0. Thus
>> opens the window without any outline data.
>>  
>>  When I¹m calling this method from a button in main window,
>>  OutlineView shows the value ³0x34890c24² then queries the database and opens
>> the window containing outline data.
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to