The problem turned out to be in my own code, a typo - my callback handler was 
not returning the correct value for oserr. (It should return eventNotHandledErr 
so that the events can propagate through the message handlers.)

Amazing how many times I looked at it without noticing the typo, but writing it 
up for the mailing list seems to have helped me see the code more objectively. 

thanks
Bruno


> On Jun 10, 2016, at 5:07 PM, Bruno Degazio <[email protected]> wrote:
> 
> I’m having a strange problem with a one particular DataBrowser in an OSX 
> 10.11 project. I cannot get in-place text editing to work. I have several 
> other Databrowsers already working just fine, but for some reason that I 
> cannot fathom this one will not allow any field to be text-edited. 
> 
> The field(s) are flagged in Interface Builder as “editable” and this is 
> confirmed with the value returned by GetDataBrowserPropertyFlags. Non-text 
> controls (a checkbox and a slider) also work correctly. 
> 
> Note that I can set the text in the textfiled, but cannot edit it in place. 
> When I try to force an edit session (using SetDataBrowserEditItem) I get 
> error -4979 , errDataBrowserPropertyNotSupported. 
> 
> I’ve been scratching my head over this on and off for weeks, checked all the 
> docs including the databrowser reference, the DB Programming Guide and Tech 
> Note 2009.  I seem to be doing everything right, as evidenced also by the 
> fact that the other databrowsers work correctly .
> 
> Any help would be appreciated.
> 
> thanks
> Bruno
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Carbon-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/carbon-dev/lifemusic%40sympatico.ca
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to