Re: Delete Key

On Mar 24, 2008, at 11:47 AM, Brendan Murphy wrote:

I've noticed that using the delete key to delete a selection (not single characters) now causes the display to refresh badly. The display's background and entire contents go away, showing just a frame. Then the rest is filled in correctly about a half-second later.

The display is double buffered, so what you described is not
possible so there must be something else going on. Are you seeing
this in the demo application or in your implementation?



This is in my own implementation. I don't see this going on in your example program.

But... I have found what is causing it. Among other things, I'm calling self.refresh(false) in the TextChanged event. Oddly, the flicker does not happen during normal typing... only when there is text selected and you hit a key, delete or otherwise, to replace the selection.


Thanks,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com



FTC Website: www.truenorthsoftware.com/Realbasic/FormattedText.html
Set List Options (digest and vacation modes): www.freelists.org/list/ftcdev
List Archive: www.freelists.org/archives/ftcdev
Unsubscribe: Send email to ftcdev-request@xxxxxxxxxxxxx with "unsubscribe" in 
the subject field.


Other related posts: