I'm trying to use the new tabcontrol in VB.NET 2005. While in design
mode, it looks fine, using the same XP theme as the one I have set in
Windows.
The problem is that as soon as I run the program, the tabcontrol
changes its style to the old gray classic-windows style. I tried
playing around with both DrawMode values available (Normal and
OwnerDrawFixed), as well as any other property I could think of but
nothing has worked to show it with the XP style.
Am I missing something? Any help would be appreciated.
Thanks! 7 4823
"AbsolutG" <ga************@gmail.com> schrieb: I'm trying to use the new tabcontrol in VB.NET 2005. While in design mode, it looks fine, using the same XP theme as the one I have set in Windows.
The problem is that as soon as I run the program, the tabcontrol changes its style to the old gray classic-windows style.
I am not able to reproduce this problem using the final version of VS 2005
Professional on Windows XP Professional SP2. Does the problem even occur in
a simple test project?
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Please do not crosspost .NET questions to the *.vb.* groups. They are for
VB6 and earlier. Stay within the *.dotnet.* groups. Thanks.
Jeff,
"Jeff Johnson [MVP: VB]" <i.***@enough.spam> schrieb: Please do not crosspost .NET questions to the *.vb.* groups. They are for VB6 and earlier. Stay within the *.dotnet.* groups. Thanks.
That's indeed true, but I am afraid that an increasing number of users will
post VB 2005-related questions to the Classic VB groups because Microsoft
has dropped the ".NET" from the product names.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
1)Make sure you are not using on your form any legacy activex control(s) as
it will damages XP style.
2) Application.EnableVisualStyles is used.
Thanks
-Yuri
"AbsolutG" <ga************@gmail.com> ???????/???????? ? ???????? ?????????:
news:11**********************@o13g2000cwo.googlegr oups.com... I'm trying to use the new tabcontrol in VB.NET 2005. While in design mode, it looks fine, using the same XP theme as the one I have set in Windows.
The problem is that as soon as I run the program, the tabcontrol changes its style to the old gray classic-windows style. I tried playing around with both DrawMode values available (Normal and OwnerDrawFixed), as well as any other property I could think of but nothing has worked to show it with the XP style.
Am I missing something? Any help would be appreciated.
Thanks!
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Oj**************@TK2MSFTNGP15.phx.gbl... Please do not crosspost .NET questions to the *.vb.* groups. They are for VB6 and earlier. Stay within the *.dotnet.* groups. Thanks.
That's indeed true, but I am afraid that an increasing number of users will post VB 2005-related questions to the Classic VB groups because Microsoft has dropped the ".NET" from the product names.
Ohhhhh, trust me, that is DEFINTELY the case!
Sorry about the crosspost. Details like those are not exactly public
knowledge, but now I know for next time.
Anyway, I found the solution. I simply went to the application
properties and checked the "Enable Application Framework" option (it's
unchecked by default). Once this is done, it enabled some more
properties, one of them being "Enable XP visual styles". I just made
sure that it was checked and that was it!
I didn't try the Application.EnableVisualStyles option but my guess is
that that could have worked too.
Thanks!
"Herfried K. Wagner [MVP]" <hi***************@gmx.at>'s wild
thoughts were released on Thu, 22 Dec 2005 02:34:20 +0100
bearing the following fruit: Jeff,
"Jeff Johnson [MVP: VB]" <i.***@enough.spam> schrieb: Please do not crosspost .NET questions to the *.vb.* groups. They are for VB6 and earlier. Stay within the *.dotnet.* groups. Thanks.
That's indeed true, but I am afraid that an increasing number of users will post VB 2005-related questions to the Classic VB groups because Microsoft has dropped the ".NET" from the product names.
People generally only need to be told once.
Jan Hyde (VB MVP)
--
Why does Santa like to go down chimneys?
Because it soots him This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Paiam Salavati |
last post by:
I want to change the the color of the tabs and the color of TabControl
itself in a TabControl. Therefore I wrote the following code in my
customized TabControl-class:
this.DrawMode =...
|
by: David Veeneman |
last post by:
I've come across an odd bit of behavior on the VS 2005 TabControl, and I'm
wondering if its a bug, or if I'm missing something.
I have a TabControl with five tab pages. Each page has a...
|
by: Oenone |
last post by:
I'm using a TabControl to facilitate a wizard-style form, using some of the
techniques described here:
http://www.codeproject.com/cs/miscctrl/WizardTab.asp
For the most part I have this...
|
by: Zadkin |
last post by:
Does anyone know, if it's possible to set the orientation of the
tabpagebuttons to horizontal instead of vertical when the alignment property
of my tabcontrol is set to left or right?
Thanks in...
|
by: Gregory Gadow |
last post by:
The TabControl that shipped with .NET 2.0 is seems to be buggier than
dog droppings in high summer. Among several complaints, the tabs
themselves look horrifically ugly when their pages have the...
|
by: Gustaf |
last post by:
Using VS 2005. I'm hardly the first to discover this, but here's a
description of the bug as I found it:
1. Make a new form.
2. Add a SplitContainer and make it horizontal.
3. Add a TabControl...
|
by: Richard Carpenter |
last post by:
I have a four-page tabcontrol with a gridview on each page. I have the
primary key column of each gridview set to hidden (visible = false),
but it still shows up on all but the first page. Anyone...
|
by: =?Utf-8?B?QWxleCBLLg==?= |
last post by:
Hi all
In a Visual Studio 2005 C# project, I have a simplest tabcontrol with two
tabpages. When I set tab control's Alignment property to Right, tab texts
(captions) disappear.
Does anybody...
|
by: temijojo |
last post by:
Hello, Can someone help me in this problem.
In my content page, I used 2 user controls inside an Ajax Toolkit TabControl. One of the user controls is a data entry with a dropdownlist. The...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
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...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
| |