|
-
Sep 28th, 2001, 07:00 PM
#1
Thread Starter
Member
Making simulation... suggestions
Creating a simulation game like 'hacker' using text and words is becoming more popular
In VB, how can we create say, a war simulation game,
where there's a console with a few button on the form
when u click on a button, a new 'command window' will come out
eg: if I click on 'Economy', a 'command window' containing few text boxes and labels will appear
However, how do I implement the 'command window' in a single form? Do I use picturebox and put all the controls in it, then make it invisible. When user click on the specific button, the picturebox will appear disguising as the 'command window'
But if there's 10 button, I'll need 10 picturebox with multiple controls in each picbox.
Is there other ways to do that?
What do you, VB professionalist, suggest me to 2?
more detail UI
Code:
|-------------------------|
| |----| |----| |----| |
| | | <--- button | |
| |----| |----| |----| |
| |
| |---------------------| |
| | Picture box | |
| | containing multiple | |
| | controls. Behind | |
| | this picture box | |
| | hidden two other | |
| | picture box | |
| |---------------------| |
|-------------------------|
p.s = i use the picturebox.visible properties to switch pictureboxes
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
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
|