Dynamically Name a TMemoView Object inside a For-Next loop
Hi All
How does one dynamically name a TMemoView Object inside a For-Next Loop
I don't mean using the
Memo->CreateUniqueName();
unless there is then a method to determine that Unique name, so as to beable to use it later?
Perhaps I actually need to assign a dynamic variable name to the Memo, rather than the Memo->Name, as I am wanting to assign an array to its Value, as one does for a normal manually named Memo Variable.
Thanks, advice appreciated.
How does one dynamically name a TMemoView Object inside a For-Next Loop
I don't mean using the
Memo->CreateUniqueName();
unless there is then a method to determine that Unique name, so as to beable to use it later?
Perhaps I actually need to assign a dynamic variable name to the Memo, rather than the Memo->Name, as I am wanting to assign an array to its Value, as one does for a normal manually named Memo Variable.
Thanks, advice appreciated.
Comments
I'm basically wanting name the Memo Oject, something like this
Memo->Text = "[TankName]";
So that I can later assign an array to that variable, like
if(CompareText(VarName,"TankName") == 0)
Value = TankList[ArrayDS4->RecNo]->TankName;
both done inside a loop
for (int i = 0; i < NoOfTanks; ++i)
Closed.