Re: Delete Key

Ron Benditt wrote:
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.

You want to call "update" to request an update to the display. If
you want an immediate update at that specific moment, call
"update(true, true)". For efficiency sake it is better to call
"update" and wait for the internal timer to fire off (every 0.333
seconds). So you have to decide what behavior is appropriate for
your situation.

I should probably override the refresh method so that it
translates correctly into the update mechanism.


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: