| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Apr 25, 2008, at 9:22 AM, Sam Mauney wrote:
Thanks for the feedback everyone.
I see what I'm doing wrong. I'm trying to change the value of the edit control in the
event handler kEventTextShouldChangeInRange.
I overlooked the event handler's description:
"Returns whether the text should be changed in editable text fields." Doh!
Is there an appropiate event handler where I should be making my changes to the contents?
Or are the event handlers not appropiate for this?
Larry
I'm new to apple's event handler setup so any advice would be greatly appreciated.
thanks, SDM
On Thu, Apr 24, 2008 at 10:26 PM, Philip Aker <email@hidden> wrote:
On 08-04-24, at 15:57, Sam Mauney wrote:
>> Are you saying it appends the space to the current text? Yes indeed.
The space was just one of the ways I've tried. I've also tried ("").
Is there a better way?
err = HIViewSetText( view, CFSTR( "" ) );
works on my setup -- nib: com.apple.HITextField, Xcode 3.0, Max OS X 10.5.2.
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@
Sent from my SE/30
_______________________________________________ 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
_______________________________________________ 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
| References: | |
| >clearing edit controls (From: "Sam Mauney" <email@hidden>) | |
| >Re: clearing edit controls (From: Laurence Harris <email@hidden>) | |
| >Re: clearing edit controls (From: "Sam Mauney" <email@hidden>) | |
| >Re: clearing edit controls (From: Philip Aker <email@hidden>) | |
| >Re: clearing edit controls (From: "Sam Mauney" <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.