473,386 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Need an example of Tabs usage.....

I need an example of tabs usage like you might do in a tabbed browser
application.

I need to be able to open one or more tabs with customer data. Every tab is
laid out exactly alike, only the customer data changes from tab to tab.
Tabs should be able to be created at the front of all tabs, back of all tabs
or between any 2 tabs. Double-clicking a tab should delete it.
Double-clicking on the tab control (but NOT on a tab) should create a blank
customer data tab in front of the currently selected tab.

Any examples of tab usage in this manner would be greatly appreciated.

Thanks!

Nov 21 '05 #1
2 1285
On Thu, 28 Oct 2004 02:47:52 -0400, Jim Hubbard wrote:
I need an example of tabs usage like you might do in a tabbed browser
application.

I need to be able to open one or more tabs with customer data. Every tab is
laid out exactly alike, only the customer data changes from tab to tab.
Tabs should be able to be created at the front of all tabs, back of all tabs
or between any 2 tabs. Double-clicking a tab should delete it.
Double-clicking on the tab control (but NOT on a tab) should create a blank
customer data tab in front of the currently selected tab.

Any examples of tab usage in this manner would be greatly appreciated.

Thanks!


Check out the TabControl class in the docs, in particular the TabPages
property. The TabPages property has methods like Add, Remove, IndexOf,
etc. Rather than us giving you the code, why don't you try it yourself and
if you have a specific question, ask.
--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
Nov 21 '05 #2

"Chris Dunaway" <"dunawayc[[at]_lunchmeat_sbcglobal[dot]]net"> wrote in
message news:6z******************************@40tude.net.. .
On Thu, 28 Oct 2004 02:47:52 -0400, Jim Hubbard wrote:
I need an example of tabs usage like you might do in a tabbed browser
application.

I need to be able to open one or more tabs with customer data. Every tab
is
laid out exactly alike, only the customer data changes from tab to tab.
Tabs should be able to be created at the front of all tabs, back of all
tabs
or between any 2 tabs. Double-clicking a tab should delete it.
Double-clicking on the tab control (but NOT on a tab) should create a
blank
customer data tab in front of the currently selected tab.

Any examples of tab usage in this manner would be greatly appreciated.

Thanks!
Check out the TabControl class in the docs, in particular the TabPages
property. The TabPages property has methods like Add, Remove, IndexOf,
etc.


Do you really think I haven't done this already? I have and it wasn't that
helpful.
Rather than us giving you the code, why don't you try it yourself and
if you have a specific question, ask.


I find it easier to learn by example sometimes, hence the request.

I have 53 books on VB.net, including the .Net Framework Class Library
collection. Not one of them gives an example of OOP using Tabs and Tab
Pages as I have asked for here.


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: R.Wieser | last post by:
Hello All, I'm trying to get a "Virtual Listbox" to work. I've currently got a form, and used CreateWindowExA to create a ListBox with the LBS_OWNERDRAWFIXED and LBS_NODATA flags on it. I've...
3
by: CAD Fiend | last post by:
Hello, I have a land development project that has a many-to-many relationship. I have ONE question regarding table structures, and ONE question on how to make a Form with two Subforms, below. ...
0
by: RSB | last post by:
Hi Every one, i am trying to create a UserControl and i am passing a Array of strings to it. Now based on the Array elements i am creating the LinkButtons Dynamically. I am also passing a Event to...
14
by: Brian | last post by:
#include <iostream> #include <cmath> using namespace std; int water_bill(int usage_in_cubic_meters); int main() { cout << "Enter the amount of usage in cubic meters: ";
10
by: Tomás | last post by:
When you simply want to store a number, what integral type do you use? For instance, let's say we have the following in a Poker game: struct Card { enum Suit { Hearts, Diamonds, Spades, Clubs...
4
by: John Nagle | last post by:
One can argue over tab vs. space indentation, but mixing the two is just wrong. Why not have CPython report an error if a file has both leading tabs and leading spaces? I know that was proposed...
4
by: TazaTek | last post by:
Hi, I'm wanting to create a form that will take in some information, and return 2 (or more) pages in new tabs. I didn't know if this would be a better server side, or client side application. ...
15
by: rhino | last post by:
I've put together a prototype of two-tiered CSS tabs that works really well in IE6, IE7, and FF2. It also works very well in Opera 9.27 _except_ that the placement of the lower tier of tabs is...
5
by: Justin | last post by:
Here's my XML: <?xml version="1.0" ?> <AppMode Type="Network"> <CurrentFolder Path="c:\tabs"> <Tabs> <FilePath>tabs\Justin.tab</FilePath> <FilePath>tabs\Julie.tab</FilePath> *****There could...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.