| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm having problems supporting text editing in my list view Data Browser. This is in a Mach-O Carbon app, building on 10.3.8 with CW 9.4.
I've followed the instructions in the Apple docs (also duplicated in TN2009) but I never get the callback that would allow me to retrieve the edited text.
My understanding is that I should get the following:
1. Data callback with query kDataBrowserItemIsEditableProperty and setValue = false [allows you to confirm editing is allowed]
2. Notification of edit start
3. Data Callback with query kDataBrowserItemIsEditableProperty and setValue = true [allows you to extract edit text and save it]
4. Notification of edit finish
I get 2 instances of callback 1, but never receive callback 3. By the time I get callback 4 it's too late to extract the text since the edit control has been destroyed.
This is occurring in both my own code, and in Apple's own BasicDataBrowser sample in Xcode.
Has anyone managed to get it to work?
_______________________________________________ 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: | |
| >Data Browser text editing (From: Graham Westlake <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.