Solved

Delphi fill TEdit boxes in cycle instead of edit1.text:=''; edit2.text:='' etc.

Posted on 2003-11-03
2
515 Views
Last Modified: 2010-04-05
Hello. Could somebody help me with this ?

For example:  I have 100 TEdit boxes.(edit1,edit2,edit3...)  I want to fill all boxes with string 'abc'.  Is it possible to do it in a cycle ?

Thx.
0
Comment
Question by:morseus2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
wwwbetyar earned 125 total points
ID: 9674773
yes

For a:=1 to 100 do
  TEdit(form1.findcomponent('Edit'+inttostr(a))).Text:='abc';
0
 

Author Comment

by:morseus2
ID: 9674785
It works fine. Thx
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question