New topic: turn off screen updating
<http://forums.realsoftware.com/viewtopic.php?t=26248> Page 1 of 1 [ 3 posts ] Previous topic | Next topic Author Message garymc Post subject: turn off screen updatingPosted: Thu Jan 29, 2009 2:51 pm Joined: Mon Apr 07, 2008 10:47 am Posts: 9 Does anyone know if there is a way to turn off screen updating in a control or a window? I have a EditField (ef) that I am doing some things with the ef.Text as the user types. I has to change the ef.SelStart and ef.SelLength fairly frequently. As a result, each keystroke causes the control to flicker just a bit. It's annoying to say the least. I have tried setting ef.Enabled to False for the changes and then setting it back to True and resetting focus, but that doesn't help. In MS Word one can set ScreenUpdating to off. Does anyone have a suggestion for RB? Thanks, Gary Top patmos Post subject: Re: turn off screen updatingPosted: Thu Jan 29, 2009 3:14 pm Joined: Sun Jun 29, 2008 10:44 am Posts: 8 I used Windows Functionality Suite, though not with editfields. window.FreezeUpdate / window.UnfreezeUpdate http://www.aaronballman.com/programming ... ySuite.php Top timhare Post subject: Re: turn off screen updatingPosted: Thu Jan 29, 2009 5:51 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 4269 Location: Portland, OR USA You should not change EditField.Text while the user is typing. Use SelText instead. It shouldn't cause any flicker. Tim Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 3 posts ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
