473,804 Members | 3,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Set FlatStyle to System

yxq
Hello,
My code
*************** *************** *****
Me.BackgroundIm age = BG 'BG is a BMP resource
Me.SetStyle(Con trolStyles.Supp ortsTransparent BackColor, True)
Panel1.BackColo r = Color.Transpare nt
GroupBox1.FlatS tyle = System 'On Panel1
*************** *************** *****

The GroupBox1 is ugly, why? How to correct it?

Thank you
Nov 21 '05 #1
2 1675
"yxq" <ga***@163.ne t> schrieb:
*************** *************** *****
Me.BackgroundIm age = BG 'BG is a BMP resource
Me.SetStyle(Con trolStyles.Supp ortsTransparent BackColor, True)
Panel1.BackColo r = Color.Transpare nt
GroupBox1.FlatS tyle = System 'On Panel1
*************** *************** *****

The GroupBox1 is ugly, why? How to correct it?


Ugly = not transparent?!

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2
yxq
Thank you, but how to be transparent and also XP style?

"Herfried K. Wagner [MVP]" <hi************ ***@gmx.at> дÈëÏûÏ¢ÐÂÎÅ:u1 **************@ TK2MSFTNGP11.ph x.gbl...
"yxq" <ga***@163.ne t> schrieb:
*************** *************** *****
Me.BackgroundIm age = BG 'BG is a BMP resource
Me.SetStyle(Con trolStyles.Supp ortsTransparent BackColor, True)
Panel1.BackColo r = Color.Transpare nt
GroupBox1.FlatS tyle = System 'On Panel1
*************** *************** *****

The GroupBox1 is ugly, why? How to correct it?


Ugly = not transparent?!

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 21 '05 #3

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

Similar topics

3
9147
by: Terrence | last post by:
I am doing some of the C# walkthroughs to transition from VB to C#. When I try to execute static void Main() { Aplication.Run(new Form1()) } I raise a 'System.NullReferenceException" in system.windows.forms.dll
5
4214
by: laks | last post by:
Hi I have the following xsl stmt. <xsl:for-each select="JOB_POSTINGS/JOB_POSTING \"> <xsl:sort select="JOB_TITLE" order="ascending"/> This works fine when I use it. But when using multiple values in the where clause as below
3
5144
by: Jason Kyle Baginski | last post by:
Here's a little test app to demonstrate a problem I'm having. It creates four buttons, each one with the different FlatStyle types available. Three of them behave exactly the same way(and the way I'd anticipate), but the FlatStyle.System one does not. If you click on any of the buttons, use the enter key, or the spacebar, they will bring up a messagebox that says "Activate". Except the FlatStyle.System one, which will bring up _two_...
0
1228
by: Rudolf Ball | last post by:
Hi NG, i create a control where I want to set the FlatStyle Property of the button to "flat" forever and dont want to let the user change this. I have tried public new System.Windows.Forms.FlatStyle FlatStyle {
1
5450
by: Antonio Barros | last post by:
Hi I'm trying to put the popup effect that happens in a button on a label. This property (FlatStyle.Popup) is too a label property. I made test windows form program, and i just put one button and one label. I modified the FlatStyle of both to Popup. When i run the program and i pass the mouseover the button i see the effect functioning. On the label no. Why ?
3
7463
by: ORC | last post by:
With buttons and textboxes etc. it is possible to set the orderstyle or flatstyle but what about comboboxes? - is it possible to make them more up to date? Thanks, Ole
0
5680
by: NicK chlam via DotNetMonster.com | last post by:
this is the error i get System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement. at System.Data.Common.DbDataAdapter.Update(DataRow dataRows, DataTableMapping tableMapping) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String srcTable) at System.Data.Common.DbDataAdapter.Update(DataSet dataSet) at TryThis.Form1.save() in C:\Documents and Settings\Nick\My Documents\...
5
1088
by: Brian Henry | last post by:
Is there a way to set the flatstyle on all the controls in a solution to system instead of standard? i tried to use a manifest file but can't figure it out...
1
2872
by: Janiek Buysrogge | last post by:
Hi, Is there a way to achieve the same looks for a flatstyle button in ..NET 1.1 as is done in .NET 2.0 with these properties: FlatAppearance.BorderSize = 0; FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; I'm backporting a button and now the border shows, along with the
0
9584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10583
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...
0
10337
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7622
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
6854
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
5654
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
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
3
2995
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.