creating custom objects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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#?
 
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,

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.
 
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 said:
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]
- (e-mail address removed)

Alvo von Cossel I said:
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#?
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top