|
-
Oct 30th, 2002, 05:42 PM
#1
Thread Starter
Fanatic Member
Create Control at Runtime
Please ignore my other post, here is a new one:
What I need to do is:
I have a form, when I click anywhere on the form, I need a Image CREATED. Where? I need it CREATED on the closest pre-defined Top and Left. (Ex. I have 2 Tops: 1 and 5 and 2 Lefts: 1 and 5. If I click Top:2 and Left:3, I need my Image created on Top1, Left 5)
Now each time I click on the form, my app will create a new image, I need these images placed in an array (First time I click my Image will be Img(0), the second time I click my image will be Img(1), etc.)
Is this possible? If yes, can someone please help me?
There is a certain pattern to the pre-defined Tops and Lefts:
Top: 360, 360, 360, 360, 360, 360, 360, 360, 360, 360, 1320, 1320, 1320, 1320, etc.
Left: 360, 1320, 2280, 3240, 4200, 5160, 6120, 7080, 8040, 9000, 360, 1320, 2280, 3240, etc.
"A RESPECTED scientist has put forward the stunning - if unsavoury - possibility that humans are descended from sewage dumped overboard by aliens."
"First we read that we are the creation of God, then scientists say we are descended from apes. Now they say we're some sort of alien poo. How much further can we sink?"
- Robert Matthews, Science Correspondent
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|