Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting a property for a Databrowser element



On 6/8/06, Mike Caveman Lehmann <email@hidden> wrote:
hi guys,
I have a single column list-view data browser, and I'm trying to
inactivate some of the items.  It seems to me that I should (per item
ID) set the value of kDataBrowserItemIsActiveProperty, but I can't
seem to figure out how to set this property, either because I'm not
looking in the right places or because I'm barking up the wrong tree.
Any hints/advice/boo-urns?


You don't set the property directly, you write your data callback to return true/false for that property when appropriate. If you change your object you then call UpdateDataBrowserItems to force the DB to refresh its cache from your callback

Fred
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >setting a property for a Databrowser element (From: "Mike \"Caveman\" Lehmann" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.