473,946 Members | 29,490 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1306
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_lunch meat_[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_sbcg lobal[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
7892
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 allso subclassed the window and do see all kinds of WS_??? messages coming by. But now I'm stuck :-\ I've got *no* idea what to do next, and all my searching on the web leads me
3
1981
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. TABLE STRUCTURE QUESTION: There are two parts to this preface.
0
1683
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 this control and Lining the OnClick event of these LinkButtons to this Event. (Which works fine). Now the Thing which i cannot achieve is i want to Change the Back Color of the Clicked to LinkButton To a different color and i also don't want to...
14
1351
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
2931
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 } suit; int value; };
4
1444
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 at some point, but I don't think it ever went in. That would catch a common error introduced during maintenance. John Nagle
4
2557
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. I'd like to create it as a server side application, but I didn't see exactly what was needed to call it out. If someone has an example (in any programming language) of how to open up 2 new tabs I'd appreciate it. Or any advice on how to...
15
1998
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 messed up. Both the XHTML and CSS validate without any errors or warnings. Can anyone help me figure out what is wrong? I'd be especially interested in the technique you used to figure out where the problem was. I still struggle a lot when I try to...
5
2177
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 be 1 of these or 100....quantity can change***** </Tabs>
0
10162
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11153
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11338
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10688
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9886
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8253
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6112
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6331
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4533
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.