VS 2008 Make The Same Button Appear On Two Different Tabs?

Aug 24, 2009

First off I hope this is in the correct I am creating a calculator software in Visual Basic 2008 Express edition. I don't know if it is .NET or not, I assume it is? I downloaded this version: [URL]...Now, I will have tabs at the top. The tabcontrol is named "Tabs". On each tab I will have a different category of mathematical functions. Now, I need the backspace, clear, clear entry, equals, and all the numbers 0-9 to appear on every single tab. Is there a way of doing this without creating a new button named "Backspace2", "Backspace3" for tabs 2 & 3 for example?

View 11 Replies


ADVERTISEMENT

VS 2008 Add Buttons To Panel, Button/tab References Create/destroy Entire Tabs/layouts?

Feb 18, 2010

I need to know how to have a button on a tab to create another button on a second tab that contains a panel, with appropriate spacing, the same size as other buttons already present, and the name of the tab that generated this new button as the text on the newly created button. I.e. button1 on tab1 will create and place a new button on a panel in tab2 that already has a grid of buttons (maybe 3x10 buttons) which will be placed underneath a particular column with the text tab2 on the new button which can also refer back to that tab automatically. Hopefully we can get all this code under a single button event.

I also don't know how to have a button on tab1 that focuses on tab2, which sets the back button on tab2 with a reference to go back to tab1 in order to remain dynamic. I.e. clicking on tab1's button will go to tab2 and set the back button there with a link back to the tab it was referred from.

I'd also like to know if there's an easy way to create and destroy tabs with a specific layout. I.e. We have home tab, and comment tab. (This is for the sake of argument) On the comment tab1 (which contains all posted comments), we have a new comment button which creates a comment tab2 (or a dialog box for that matter) with appropriate textboxes, labels, and buttons in the right places which could also make use of the issues I posted above. So the new comment button on the comment tab1 will create either a new comment tab2 with appropriate objects, or a dialog box with the same, and then the submit button on this comment tab2 or box will create a new textfield/buttons on the panel containing the grid of buttons with the information provided in the fields from comment tab2/dialog box which is then destroyed.

I hope i haven't made the examples too confusing, but I can't figure out how to even make progress in these directions. Trying either fails completely, or semi-fails in getting these examples to function 100%.

I've already tried posting in other forums, but with no replies. Hopefully you all can help me figure this out.EDIT: This is not homework, I have scoured forums and google trying to find the answer to these problems. I'm hoping that because these are mainly VB based forums I can find some answers here.

View 6 Replies

VS 2008 Make Button Open A Program And Make It Windows Size?

Aug 23, 2009

How do i make my button open a program and make it windows size?

View 6 Replies

Removing Tabs And The Enter Key From A Button?

Mar 3, 2012

Ok I'll try and explain this is as simply as I can using an example. Hopefully you will get at what i'm getting at.Let's say I have a form with two buttons. By default these buttons will be tabindexed 1 and 2. So using the tab key you can simply switch. So to remove this one would select tabstop=false for both. So now you have two buttons which can be only clicked

View 4 Replies

Tab Control Tabs With X Or Close Button?

Aug 24, 2009

ok i currently have a tab control aka a web browser with tabs but want a close button on each tab i do not want to do a full recoding and i want to know if there is just a simple code to add on to my current tab control my tabcontrol is called tabcontrol1 my web browser name is wb

View 10 Replies

VS 2008 Make Button One Click Button 2?

Jan 9, 2010

Call Button1_Click(sender, e) This works but it only clicks button 1

and yes this does not work.

Call Button2_Click(sender, e)

View 4 Replies

How To Make Vertical Tabs

Sep 14, 2009

I spent a lot of time googling and I can't find anything Does anyone know how to make tabs on a TabControl vertical? Like this:

View 7 Replies

Make Tabs Look Really Cool?

Mar 21, 2011

Trying to find out how to make the tabs in the tabcontrol look completely different like the tabs that have slanted sides

View 3 Replies

Visual Basic Tab Control Tabs With Close Button

Aug 5, 2009

how do you put a close button on tabs in visual basic

View 5 Replies

Way To Open New Tabs At Moment Is By Click A Button Called 'new Tab'

Nov 24, 2010

im making a tabbed web browser for private use which is basicly done apart from the fidly bits however i want to be able to hold down the "ctrl" key and press t to open a new tab like google chrome and firefox, im verry new to programing and dont even know where to start, so far i have been watching youtube tutorials and reading tutorials on here which has got me to the point where i can actualy use the browser and its verry handy but this would be an excelent feature.the way i open new tabs at the moment is by click a button called "new tab" using the following code. [code] these i could probably work out with google searching but im not to bothered if i can get it to work.

View 3 Replies

Make The Actual Tabs Different Sizes?

Jun 29, 2009

Is there a way to make the actual tabs different sizes? I just want the tabs themselves different sizes not the whole thing. Seems like the itemsize property does this but it will only allow you to set one size. I want each tab to be a different size depending on its text.

View 11 Replies

Make The Tabs Bigger On TabControl?

Aug 4, 2009

I notice that the actual tabs on a TabControl are quite small (I am using VB 2008 Express). I would like more vertical space above and beneath the text on the tabs. I tried changing the padding in the TabPages collection but it didn't seem to do anything. Is there a way to make the tabs bigger?

View 1 Replies

Use A Listbox As Favs For A Web Browser / How To Make Tabs

Apr 1, 2009

how to use a listbox as favs for a web browser.[code]how to make tabs - currently no code

View 6 Replies

Replacing The Tab Control's Tabs With Custom Tabs Made In Photoshop

Mar 16, 2009

I was wondering if there was a solution to replacing the tab control's tabs with custom tabs made in Photoshop. I know there are plenty of super expensive programs that can do it, but I was wondering if there was a way to do it programmatically. I was thinking that maybe it could linked in some way with a .DLL?

View 1 Replies

Making The GUI A Scrollable Window - Tabs Get Built, Displayed And Disposed As The User Scrolls Left And Right Through The Member Tabs?

Mar 6, 2009

My code is basically a file parser/editor and it handles most files fine as they hold a handful of records concerning family members. However there are a few files that crash when trying to deal with them. Here is the problem.Each family member record creates 3 tabs that hold an average of 3 group boxes each. Each group box holds an average of 3 text boxes.So each member record creates 3x3x3 = 27 text boxes and some files get up to 289 family members which = 7803 text boxes.

The problem is the rare file with 400+ member records = 10,800 text boxes which causes a crash due to using up all the window handles. Each member has a separate tab page (with 3 subpages) but really only a dozen or so member pages are visible in the GUI with scroll arrows to move through them so I was thinking of somehow making the GUI a scrollable window so the tabs get built, displayed and disposed as the user scrolls left and right through the member tabs.

The files are parsed into a 3d list DataList(x,y,z) where x is the page number, y is the group box number and z is the text box number. So all the data is available. The code then traverses MyList and builds GuiList(x,y) where x is the page number and y is the groupbox number with all the textbox.text linked to MyList(x,y,z) locations so all text changes are reflected in the MyList.

I already have a memberCount variable and I am thinking of building, say, the first 30 member tabs with the middle 10 being visible in the GUI. If the selected tab > 20, then dispose of the first 10 tabs and create tabs 30-40.I am thinking I will keep all the member tab pages so I don't have to deal with inserts and indexing problems but just dispose all the group boxes and text boxes for tab pages out of view. I already have a deep clone sub that clones members when the user wants to add a new family member and I am thinking I will have to add something similar when a tabpage is passed in for disposal, it traverses and disposes each text box, then disposes the group box for each group box on the tab page.Additionally, another routine will rebuild the group boxes from the data held in MyList(x,y,z) when a tabpage(x) is passed in.

View 2 Replies

Webpage The Tab Name Will Be The Websites Title - Make The Adress Bar URL Change When Switching Tabs?

Apr 17, 2009

I have a web browser with tabs, and I wanted to know the following:

1. When yougo to a webpage the Tab name will be the websites title, if the title is over

2 5 characters, then it ends with a "..."

2. how do I make the adress bar URL change when switching tabs?

View 10 Replies

VS 2008 Make On/Off Button?

Jul 23, 2009

I want to create a button which you click one time, it show text "On", if click again it show "Off".

If Button1.Enabled = True Then
Button1.Text = "On"
End If

View 2 Replies

VS 2008 Make A Button Flash?

Jan 16, 2010

Is this possible in vb ? I just want to make a button flash red and black.

View 13 Replies

VS 2008 - How To Make A VB Button Open A Website

Aug 10, 2009

1. How do I make a VB button open a website? I want it to open the website using the default browser.

2. Is it possible to me to have VB look for a program? Right now one of my buttons will open a exe, but only if its in the same folder. How can I make it so that it can look for the program?

3. I want to add a "help" button so that when a user clicks it they will see a box with some info.

View 7 Replies

VS 2008 Make A Button Open Another Program?

Jul 6, 2011

i need to know the exact code that once you click a button on visual basic program it will open a program in a directory for example:C:Program FilesiTunes.exe

View 5 Replies

[VB 2008] Make A Flashing Text Within A Button?

May 22, 2009

I know how to make a flashing text within a button, but i do not know how to make a flashing image within a button. i used this code to make the flashing text within the button

[code]...

What is the code to make the image within the button to flash.

View 3 Replies

Make The Drop Down Button Wider In VB 2008 Express?

Mar 1, 2009

I am using the DateTimePicker in VB 2008 express. I am making a program for a person who is visually impaired and needs to see BIG WIDE buttons. The drop down button is very slim and I need to know what to do to modify the size of the drop down button itself in the properties. I tried googling this and have run into dead ends.

View 4 Replies

VS 2008 - Make A Randomize Write On Button.text?

Jun 10, 2009

how can i make a randomiz write on button.text i want to make a button when i click on it write " O " in any button of the 9

View 7 Replies

VS 2008 Favicon In Tabs?

Mar 15, 2011

I'm making a tabbed browser and I want to get favicons in the tabs. I have a picturebox by the address bar that shows it just fine, but I want it in the tabs also. The tabs are owner drawn. Can I use the image key to display the favicon? If so, how? I've tried drawing the image in, but it draws it to every tab instead of just the one. Is there any way around this?

View 8 Replies

VS 2008 - Choose Which Tabs Are Going To Be Displayed?

Aug 26, 2010

my application the user is going to be able to choose which tabs are going to be displayed, but I need help[ with this.

View 1 Replies

VS 2008 - Create Web Browser Tabs

Jul 17, 2009

I wanna know How to Create Tabs in Web Browser To all Different Sites At The Same Time.

View 39 Replies

VS 2008 : How To Move Controls Within Tabs

Oct 6, 2009

I have a form that has many tabs and I have some buttons just bellow the tabs, but if I could move those buttons and place them inside the tab I would save some space bellow and I could extend on the tabs. So is there a way of moving controls from one tab to another depending which one has focus.

View 6 Replies

VS 2008 Do Not Want To Open Any Other Windows Or Tabs

Sep 28, 2009

I have created a web browser and am trying to get the link that is clicked that would normally open in a new window to open in the current window as I do not want to open any other windows or tabs. This is the code I have so far and it seems to work well kind of anyway, it opens the last url not the new one. Sometime it will open just an advert, it seems to open what ever link was last loaded on the site. [code]

View 5 Replies

VS 2008 Hiding And Showing Tabs?

Apr 25, 2010

I'm trying to search through all tabs to find a specific text. if the text is found, the tab will be hidden, or shown.

I tried this to hide:

btnHide
Dim txt As Object
Dim tabp As TabPage
For Each tabp In TabControl1.TabPages

[Code].....

View 8 Replies

VS 2008 Select The Position Of The Tabs

Sep 21, 2009

I've been looking for an option where I could select the position of the tabs but didn't find nothing for it. as I create a new tab it goes on my tab list as the last tab, how to set the position of it?

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved