[futurebasic] Re: [FB] Pasting to an Edit field

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2004 : Group Archive : Group : All Groups

From: Brian Stevens <brilor@...>
Date: Sun, 30 May 2004 20:42:57 -0700
On May 30, 2004, at 7:56 PM, Robert Purves wrote:

>
> michael evans wrote:
>
>> In fb4 appearnce osx how does one:
>> (1) detect that text has been pasted into the active edit field.
>
> _preview _efChanged event
FYI: As of my last check, the appearance runtime did not support 
_efChanged for control-based edit fields (i.e. kControlEditTextProc), 
but functions as expected for a non-static field created with edit 
field.



>
>> (2) having detected the paste in (1) above, force all the text in the 
>> active
>> edit field to geneva plain 9pt?
>
> edit text # .....
Just reminder nudge:  RP put that pound sign(#) there because, unlike 
some verbs like CLOSE where the # is optional,  it is required for 
correct results. The compiler will not complain if the # is missing.

Robert P.
>
> --
>