Re: array of TEdit as a constant
From: Harald Knautzberg (knautzberg_at_gmx.de)
Date: 01/15/05
- Next message: Raptor: "Re: Best way to deal with long loops?"
- Previous message: Maarten Wiltink: "Re: Here's a "CASE" statement with strings... sorta."
- In reply to: Nicholas Sherlock: "Re: array of TEdit as a constant"
- Next in thread: Jamie: "Re: array of TEdit as a constant"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 15 Jan 2005 10:45:56 +0100
Nicholas Sherlock schrieb:
> Untested, and you should really use this to populate an array so you
> don't have to search each time:
>
> for i:=1 to 40 do
> tedit(form1.findcomponent('edit'+inttostr(i))).text:='This is edit
> number '+inttostr(i);
thx, this works fine. I've also declared an const array of strings with
the names of the edit fields, because the names of my edits are not
continuous enumerated they are like edit01, edit02, edit11, edit12,...
but it works very good!
thx!!!
Harry
- Next message: Raptor: "Re: Best way to deal with long loops?"
- Previous message: Maarten Wiltink: "Re: Here's a "CASE" statement with strings... sorta."
- In reply to: Nicholas Sherlock: "Re: array of TEdit as a constant"
- Next in thread: Jamie: "Re: array of TEdit as a constant"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|