|
-
Feb 6th, 2000, 07:32 AM
#1
Thread Starter
Lively Member
I am Trying to make something like simcity!
I would like to know how I could:
When I click on the form it puts down a picture (of a building). How can I Add a Image Box to my form in runtime?
------------------
Frankie Weindel
-
Feb 6th, 2000, 11:08 AM
#2
Frenzied Member
In the Click section put
Picture1.top = Y
Picture2.left = X
I'm sorry If I mxed up the X and Y, switch them if something is funny. Pictures will overlap with this, hopefully you can expand from this. If this button is pushed, then this code is activated...etc.
Sorry, Im in the process of moving data from one computer to my new one, so I don't have the code to create objects at runtime, but I will try to get them to you soon.
Im curious how this turns out, Good Luck!
Steve
[This message has been edited by SteveCRM (edited 02-06-2000).]
-
Feb 6th, 2000, 07:07 PM
#3
Member
good luck!!! simcity in vb? don't think so!!!
------------------
-
Feb 6th, 2000, 08:12 PM
#4
PowerPoster
Why not?
I'm sure with DDraw you have enough performance to do some calculations about population... of course not that complex like in SC but something similary...
(Good luck anyway)
------------------
[email protected]
...
Every program can be reduced to one instruction which doesn't work.
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
|