Custom graphics / tab control?

  • Thread starter Thread starter GC
  • Start date Start date
G

GC

I have a form that has 4 related "screens" to it. Currently I am using a tab
control for this. I want to customize the look of these tabs so that there
is a graphic in the background with transparent labels and graphical
buttons. Is it easier to do the drawing on panels? Should I get rid of the
tab control and just simulate one by using 4 seperate panels, and do the
drawing on them myself? Or create some sort of derived custom tab control
where I handle the painting? I'm having a hard time coming up with clean
code to do this since the tabs need to share some common variables but at
the same time they have variables that essentially should only be in the
scope of that tab. Would 4 seperate forms be inefficient? Ideas?
 
Tab controls do not support any form of custom drawing.

David Wrighton
.NET Compact Framework

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "GC" <[email protected]>
| Subject: Custom graphics / tab control?
| Date: Wed, 15 Oct 2003 19:24:01 -0400
| Lines: 12
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: adsl-068-016-175-050.sip.mco.bellsouth.net 68.16.175.50
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:36119
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I have a form that has 4 related "screens" to it. Currently I am using a
tab
| control for this. I want to customize the look of these tabs so that there
| is a graphic in the background with transparent labels and graphical
| buttons. Is it easier to do the drawing on panels? Should I get rid of the
| tab control and just simulate one by using 4 seperate panels, and do the
| drawing on them myself? Or create some sort of derived custom tab control
| where I handle the painting? I'm having a hard time coming up with clean
| code to do this since the tabs need to share some common variables but at
| the same time they have variables that essentially should only be in the
| scope of that tab. Would 4 seperate forms be inefficient? Ideas?
|
|
|
 
Back
Top