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: Carbon Data Browser Malfunctions...




On May 31, 2005, at 7:58 PM, Kevin Grant wrote:

Hi everyone,

Are Data Browsers supposed to allow movable columns in Carbon, and can they edit text by default? I would think, obviously yes, however... :)

I have a data browser whose columns respond to mouse clicks (i.e. I can drag them), however they won't move when the mouse is released and there is no visual feedback under the drop location to indicate that they can be dropped; instead, they "zoom back" to the starting point.

Are you calling SetAutomaticControlDragTrackingEnabledForWindow() on your window?


I also have a column marked as editable that refuses to be edited. When I try to edit it (e.g. highlighting and pressing return), the curious assertion "DebugAssert: HIToolbox: Client denied edit [Controls/Definitions/Browser/ListView/TTableView.cp:3732]" appears in the console.

Does your item data callback handle the case where the setValue parameter is true?


Specs:
- created with Interface Builder on 10.4.1 (so far, haven't tried any others)
- browser is the sole control in window which is non-compositing, with the Standard Handler
- all columns are checked movable and sortable in I.B.
- the first column is also checked editable, selection and type-select
- post-setup, I install callbacks for data, compare and notification


Other automatically-handled data browser events, such as column resize and scrolling, *do* work.

Any ideas?

Thanks,
Kevin G.

Ian

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: 
 >Carbon Data Browser Malfunctions... (From: Kevin Grant <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.