Server Help

Non-Subspace Related Coding - Questions for visual basic....

Assassin2684 - 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 icon_biggrin.gif .
Cyan~Fire - 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.
Assassin2684 - 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.
Smong - 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.
Assassin2684 - 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.
Samapico - 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:

Code: Show/Hide
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

Assassin2684 - Wed Jul 05, 2006 12:51 am
Post subject:
Thank you. That helped alot biggrin.gif
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group