[futurebasic] Re: [FB] Trapping a change in a EditUnicodeTextControl (EUTC)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Brian Stevens <bstevens33@...>
Date: Thu, 3 Jan 2008 14:56:47 -0700
On Jan 3, 2008, at 12:42 PM, Robert Purves wrote:

>
> Brian Stevens wrote:
>
>> Scenario:  EUTC (in fact several in one window but that is not  
>> material), Carbon Events, Nib window.
>> Goal: Anytime the user puts text into the EUTC either via keyboard  
>> typing or copy/paste, the program needs to be aware of the change.
>
>
> kEventClassTextField / kEventTextShouldChangeInRange
> kEventClassTextField / kEventTextDidChange

Thanks Robert. The kEventTextDidChange looks like what I need.  Also  
thanks to Bernie for sending an example of  
kEventTextShouldChangeInRange offlist.

Brian S.