473,385 Members | 1,569 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,385 software developers and data experts.

creating custom objects

hi,

i have been asked to make a good-looking app for a friend. i have an options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany
Nov 17 '05 #1
4 2292
Funny,

i am in the same boat as you. I posted a similar question yesterday. The
reply pointed out that it involves doing graphics, etc. QUOTE from the reply

There was also this link It's going to be a lot of work but you'll find out
how from my site:
http://www.dotnetrix.co.uk/tabcontrols.html --> A completely ownerdraw
tabcontrol

END Quote.

I have previously created a custom control A in which i would place alll
controls i needed.
then i created another control for buttons B. Then i would place images on
the buttons.
Then i associate each A control with B. then onclick events i would show A
under this button and hide all other As, etc.

i am not good at graphics i have never done it. if you find a good solution
please share.
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:71**********************************@microsof t.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany

Nov 17 '05 #2
Alvo,

There really isn't this kind of functionality in the framework where you
can say "I want functionality like this, but draw it like this". If you
want something custom, then you will have to draw the control yourself.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:71**********************************@microsof t.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany

Nov 17 '05 #3
hi,

when you say draw, do you mean create the whole object from scratch? if yes,
how would i draw it?

happy summer holidays :^)

--
Alvo von Cossel I of Germany
"Nicholas Paldino [.NET/C# MVP]" wrote:
Alvo,

There really isn't this kind of functionality in the framework where you
can say "I want functionality like this, but draw it like this". If you
want something custom, then you will have to draw the control yourself.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:71**********************************@microsof t.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany


Nov 17 '05 #4
hi,

nicholas P said that if youw ant to create a control you need to 'draw' it.
i'm not sure what he meant or how it's done but they did it in MS office
(although thaty was written in C++, not c#). it must be possible with c#

have some happy summer holidays
--
Alvo von Cossel I of Germany
"Raj Chudasama" wrote:
Funny,

i am in the same boat as you. I posted a similar question yesterday. The
reply pointed out that it involves doing graphics, etc. QUOTE from the reply

There was also this link It's going to be a lot of work but you'll find out
how from my site:
http://www.dotnetrix.co.uk/tabcontrols.html --> A completely ownerdraw
tabcontrol

END Quote.

I have previously created a custom control A in which i would place alll
controls i needed.
then i created another control for buttons B. Then i would place images on
the buttons.
Then i associate each A control with B. then onclick events i would show A
under this button and hide all other As, etc.

i am not good at graphics i have never done it. if you find a good solution
please share.
"Alvo von Cossel I" <Al************@discussions.microsoft.com> wrote in
message news:71**********************************@microsof t.com...
hi,

i have been asked to make a good-looking app for a friend. i have an
options
form with a big tabstrip in it.

1. how can i customize it e.g. change from the standard system style
tabcontrol to what i want?

2. if #1 isnt possible to do, what would be the best way to make something
look like a tabstrip?

microsoft office was made with creating custom objects (except most tabs).
even the menu bar was created from scratch. how can i do this with c#?
--
Alvo von Cossel I of Germany


Nov 17 '05 #5

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

Similar topics

2
by: PK | last post by:
Hello, I am looking for help on the following. I'm trying to create a custom browser toolbar button that will do a few things. One that I'm trying to do at the moment is just simply return the...
5
by: Keiron Waites | last post by:
<script language="JavaScript" type="text/javascript"> <!-- var array1 = new Array(); var array1i = new Array(); array1 = array1i; alert(array1); // --> </script>
3
by: Ken Varn | last post by:
I am just starting the process of creating ASP.NET server controls. I have created controls for .NET applications, but have just started with ASP.NET. I am a little confused about some areas that...
5
by: | last post by:
Trying to learn about manipulating collections of objects, and populating these objects dynamically from datasources. Could someone post a code sample that shows the following: Instantiating a...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
10
by: moondaddy | last post by:
I'm new to c# and .net 2.0. In the old vb.net 1.1 days I normally created a list class for every business class and used this list class for all databinding rather than using datasets. This is...
26
by: nyathancha | last post by:
Hi, How Do I create an instance of a derived class from an instance of a base class, essentially wrapping up an existing base class with some additional functionality. The reason I need this is...
3
by: =?Utf-8?B?R2hpc3Rvcw==?= | last post by:
Hi all, We have a N-Tier framework and we now create a Web Site App to wotk with this architecture. I add reference from my libraries in the project and creating page and controls is very...
3
Kelicula
by: Kelicula | last post by:
This is NOT a complete OO perl tutorial However I thought it could be beneficial to explain some of the basic concepts, and allow some users to simplify the software design process. I have...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.