Article View: borland.public.cppbuilder.database.ado
Article #1628Modifying Object Properties Efficiently
From: Scott
Date: Thu, 10 Jun 2004 21:07
Date: Thu, 10 Jun 2004 21:07
18 lines
1616 bytes
1616 bytes
Good Afternoon Again! I am creating an array of about 150 edit boxes with varies functionality. Since each box will have many properites to set and check for many of my operations, I have been trying to figure out a way to change the color, for example of 150 text boxes of the name form: Edit1, Edit2, ..., Edit150. Currently, the only thing I can think of is manually entering the following for each box: Edit1->Color = clYellow Since I have many properties to select and deselect, I would very much appreciate any suggestions on how to streamline the code to do this, as it will make the code much more readable. Thanks! Scott
Technical Details
Message-ID:
<40c8cd99$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,d5dbb014a11962a1,start X-Google-Attributes: gid10698b,public Reply-To: "Scott" <the1scot@aol.com> From: "Scott" <the1scot@aol.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Modifying Object Properties Efficiently Date: Thu, 10 Jun 2004 17:07:41 -0400 Keywords: Objects, Coding Methods Lines: 20 Organization: Boston University X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 128.197.177.182 Message-ID: <40c8cd99$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086901657 128.197.177.182 (10 Jun 2004 14:07:37 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail