
create image objects dynamically
Let's put it this way. My boss wants me to write a program with a forklift
that transfers the goods onto the racks. The goods are generated from the
dock leveler,
and there is only one forklift, when the forklift retrieves the goods, it
will put it at the nearest location on the racks. The problem is when the
second goods is generated, i need to create another image control...
so what do i do? it is like
goods(1).visible = true
goods(2).visible = false
goods(3).visible = false
after the second retreival, we get two pieces of goods on the rack.
Therefore I have to generate the second piece of goods dynamically such as
set goods(i) = new image
or something like this, of course the above won't work!
Any advice. Thanks
Jack
Quote:
> Hi Jacky:
> > As title. Thanks in advance
> You're title's pretty vague -- perhaps if you more specifc....
> Do you want to draw images, do you want to load an image control, etc....
> Doug.