Hello.
I have a little ole question.. Mayby some of you have an idea.
I can crate my object with
var
test:olevariant;
begin
test:=createoleobject(test.application)
test.application is an enumeration object... now I need something like.
for each xyz in test do
begin
xyz.name := '123'
xyz.value :=
end;
Any ideas?
Greetings
Alex
How to convert VB FOR EACH object IN test.application do
I don't know how this works, but I guess it's something like this:
for i := low(test) to high(test) do begin
test.name := '123';
test.value :=
end;
Or maybe it's:
for i := 0 to test.ItemCount - 1 do begin
Or:
for i := 0 to test.Count - 1 do begin
General programming questions (which have nothing to do with madCollection) should better be asked on either Experts-Exchange or on the borland newsgroups. There are lots of experts sitting around waiting to answer such questions. You'll probably get better answers there than here for anything which is not related to my madCollection.
for i := low(test) to high(test) do begin
test.name := '123';
test.value :=
end;
Or maybe it's:
for i := 0 to test.ItemCount - 1 do begin
Or:
for i := 0 to test.Count - 1 do begin
General programming questions (which have nothing to do with madCollection) should better be asked on either Experts-Exchange or on the borland newsgroups. There are lots of experts sitting around waiting to answer such questions. You'll probably get better answers there than here for anything which is not related to my madCollection.