digimortal
Programmer
I have 13 edits in my form if 5 is entered in the first edit , first 5 of the 12 remaining edits will be enabled, if 10 is entered in the first edit 10 edits will be enabled and 2 will be disabled...
Thanx
(names are edit1,edit2....,edit13)
I think it should look something like this:
for (i=2;i<Edit1->Text;i++)
{
AnsiString ed = "Edit"+i+"->Enabled = True;";
exec ed //How To Do It
}
Thanx
(names are edit1,edit2....,edit13)
I think it should look something like this:
for (i=2;i<Edit1->Text;i++)
{
AnsiString ed = "Edit"+i+"->Enabled = True;";
exec ed //How To Do It
}