473,788 Members | 2,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2325
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.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.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.co m

"Alvo von Cossel I" <Al************ @discussions.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.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.co m

"Alvo von Cossel I" <Al************ @discussions.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.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.mi crosoft.com> wrote in
message news:71******** *************** ***********@mic rosoft.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
9717
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 URL of whatever page the user is visiting. I wanted to create a Win32 application using VB.NET. If there is a better way of doing this please let me know. I assume there needs to be some sort of client side code. I was originally leaning...
5
28356
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
1874
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 I am hoping someone can help clear up. 1. What is the difference between initializing a control in the constructor, vs the OnInit(), vs the CreateChildControls() methods? 2. The control that I created contains an Items collection attribute...
5
2290
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 collection object -- say, a dictionary. Populating that collection object with custom objects, say, Person. What I really want to see is how to populate the properties of those Person objects from a datasource: instantiate one Person, fill...
9
6022
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 using an seperate application (like I do now). I want to implement a system tray icon when someone logs on to the console. I've tried several samples but I can't get the icon to the system tray. I know there are some issues because the logged on...
10
5101
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 because often I wanted to edit data in the list and therefore needed to talk to the business object and not the dataset. Since this was a must, I standardized on creating list objects in most cases so everything was standardized. I've searched far...
26
5375
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 because I am not always able to control/create all the different constructors the base class has. My problem can be described in code as follows ... /* This is the base class with a whole heap of constructors/functionality*/ public class Animal
3
1935
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 easy, using my objects. But, it's seem that I cannot create report using Crystal Report with my objects. I created classes in the app_Code folder and yes, I can use them but, it's not the way I eant to do it. I want to use my classes from my dlls.
3
7429
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 found it to be extremely useful and beneficial to create my own "custom" modules. It (among many other things) allows you to type less. Or to make your keystrokes matter more, however you look at it. (If you do even look at it.) Things the reader...
0
9656
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
10370
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10113
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,...
1
7519
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
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5402
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...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2896
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.