Article View: borland.public.cppbuilder.nativeapi
Article #2478Preventing VCL Components from updating
From: Dan
Date: Fri, 23 Feb 2007 20:54
Date: Fri, 23 Feb 2007 20:54
12 lines
1357 bytes
1357 bytes
Basic question. I have a VCL object, TStringGrid, that I want to apply a number of changes to, but I don't want to see the screen flicker. Or in otherwords, I want all my changes made, and then the screen redrawn. I can accomplish that to some extent by setting Visible to false and , doing all the updates, and then setting it to true, but that does cause the screen to become invisible briefly. Is there a better way that doesn't make the component invisible, and thus flicker?
Technical Details
Message-ID:
<45df54b7$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8f1cd1146acb9ec5,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 23 Feb 2007 14:54:52 -0600 From: Dan <Dan@do.not.spam> User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Preventing VCL Components from updating Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 216.174.165.174 Message-ID: <45df54b7$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172264119 216.174.165.174 (23 Feb 2007 12:55:19 -0800) Lines: 12 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail