[futurebasic] Re: [FB] FB 5.3 Examples: EUTC Key Filter Demo broken

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2009 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sat, 1 Aug 2009 22:53:08 -0400
Creating a test window to print to-- in this case window 100-- the  
following in fn EUTCKeyFilter_priv() never generates a length for the  
CFStringRef greater than 1.


candLen = fn CFStringGetLength( candText )

//String length returned here never exceeds 1 regardless of the  
numbers entered
window output 100 : cls : print candLen : window output 1

currText = fn HIViewCopyText( view )
long if ( currText )
currLen = fn CFStringGetLength( currText )
CFRelease( currText )
xelse
currLen = 0
end if

Ken