Author |
Message |
Assassin2684 Server Help Squatter
Age:33 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Thu Jun 22, 2006 5:38 pm Post subject: Questions for visual basic.... |
|
|
|
|
I am having some problems with Visual Basic and there are some things I can figure out.. Hopfully you guys/gals can help me.
1. First im making a browser and I just cant figure out how to add this one part. The nav bar at the top where you select stuff such as "FIle", "Edit", "View", ect. Here is a image of what I need to learn how to do.
2. ALso for my browser or other stuff I need to learn how to make one of these. Its hard to explain what it is so i just made a image for you.
Umm I guess thats it for now, but there is probably more i just cant think of at the moment... Hope you guys can help .
|
|
Back to top |
|
|
Cyan~Fire I'll count you!
Age:36 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Thu Jun 22, 2006 6:18 pm Post subject: |
|
|
|
|
First, start simpler. Second, don't use Visual Basic.
After you accomplish both of these, the answers should become clear. Also, the MSDN Library is your friend. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
|
|
Back to top |
|
|
Assassin2684 Server Help Squatter
Age:33 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Thu Jun 22, 2006 7:15 pm Post subject: |
|
|
|
|
But how do I create easy interfaces like Visual Basic does and put code in it? Also I have already made a decent browser, it just needs extras now.
|
|
Back to top |
|
|
Smong Server Help Squatter
Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Thu Jun 22, 2006 8:08 pm Post subject: |
|
|
|
|
Doesn't VB have a wysiwyg form builder? I think your first picture is a menubar, the second is tabs.
|
|
Back to top |
|
|
Assassin2684 Server Help Squatter
Age:33 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Thu Jun 22, 2006 11:03 pm Post subject: |
|
|
|
|
I mean, i tryed to work with them a while back but i couldent figure it out.. I will try again tomorrow and see.. but if anyone would liek to help me that would be great. The main this is making more then one of each and adding different things to each section.
|
|
Back to top |
|
|
Samapico No, these DO NOT look like penises, ok?
Joined: May 08 2003 Posts: 1252 Offline
|
Posted: Tue Jul 04, 2006 7:55 pm Post subject: |
|
|
|
|
Ok, first of, about the menus
VB has a menu creator , you can access it by pressing CTRL+E, or by clicking the icon shown on the screenshot (vbmenu1.png)
Note that when you create an application, you can use the wizard and it will guide you through many steps, one of which is creating the menus
When you have entered your menu items, you can access each menu item's code by simply clicking it like it was an actual application (vbmenu2.png)
As for the tabs, a simple way to work with them would be to create pictureboxes for each tab ...
Put the content of each tab in a separate picturebox, and when you click on the tabs control, you throw away the pictureboxes you don't want, and move the one you want to the correct coordinates (tabs.png)
Pictureboxes must be on the same group
code would look like this:
Private Sub tbsOptions_Click()
Dim i As Integer
'show and enable the selected tab's controls
'and hide and disable all others
For i = 0 To tbsOptions.Tabs.count - 1
If i = tbsOptions.SelectedItem.index - 1 Then
picOptions(i).Left = 15
picOptions(i).Enabled = True
picOptions(i).Top = 32
Else
picOptions(i).Left = -5000
picOptions(i).Enabled = False
End If
Next
End Sub |
_________________ (Insert a bunch of dead links here)
tabs.png - 81.75 KB
File downloaded or viewed 36 time(s)
vbmenu2.png - 24.47 KB
File downloaded or viewed 37 time(s)
vbmenu1.png - 43.41 KB
File downloaded or viewed 35 time(s)
|
|
Back to top |
|
|
Assassin2684 Server Help Squatter
Age:33 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Wed Jul 05, 2006 12:51 am Post subject: |
|
|
|
|
Thank you. That helped alot
|
|
Back to top |
|
|
|