PC Review


Reply
Thread Tools Rate Thread

BUTTON - VISUAL STYLE HOW ?

 
 
Agnes
Guest
Posts: n/a
 
      20th May 2004
i saw some .net demo, there is a property for the button or check box called
"visualstyle" (something like that)
In my.net 2000 , there is not such property. Does it belongs to 2005 ??

thanks


 
Reply With Quote
 
 
 
 
Ulrich Kulle
Guest
Posts: n/a
 
      20th May 2004
Hallo Agnes,

> i saw some .net demo, there is a property for the button or check box called
> "visualstyle" (something like that)
> In my.net 2000 , there is not such property. Does it belongs to 2005 ??
>


I don't know what .net 2000 is, but when developing with Microsoft Visual Studio
2002 IDE there is no property "visual style". You must have a manifest file in
the "*.exe" folder and a property "FlatStyle" set to "System".

some information about visual styles from the source (Microsoft):
http://tinyurl.com/36so6
more simply described
http://tinyurl.com/2k5bu

Best regards
Ulrich Kulle
***************************************
http://www.help-info.de
***************************************




 
Reply With Quote
 
Cor Ligthert
Guest
Posts: n/a
 
      20th May 2004
Hi Agnes,

Also only copied from someone else
In Framework 1.1 you can call
System.Windows.Forms.Application.EnableVisualStyles.

(Framework 1.1 is visual.studio 2003)

I hope this helps?

Cor


 
Reply With Quote
 
Agnes
Guest
Posts: n/a
 
      20th May 2004
I am using Framework 1.0 , so I can't use it ?
How can I upgrade it ?

Thanks
"Cor Ligthert" <(E-Mail Removed)> 在郵件
news:(E-Mail Removed) 中撰寫...
> Hi Agnes,
>
> Also only copied from someone else
> In Framework 1.1 you can call
> System.Windows.Forms.Application.EnableVisualStyles.
>
> (Framework 1.1 is visual.studio 2003)
>
> I hope this helps?
>
> Cor
>
>



 
Reply With Quote
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      20th May 2004
Hi,

http://support.microsoft.com/default...b;en-us;303636

Ken
----------------
"Agnes" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I am using Framework 1.0 , so I can't use it ?
> How can I upgrade it ?
>
> Thanks
> "Cor Ligthert" <(E-Mail Removed)> 在郵件
> news:(E-Mail Removed) 中撰寫...
>> Hi Agnes,
>>
>> Also only copied from someone else
>> In Framework 1.1 you can call
>> System.Windows.Forms.Application.EnableVisualStyles.
>>
>> (Framework 1.1 is visual.studio 2003)
>>
>> I hope this helps?
>>
>> Cor
>>
>>

>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      20th May 2004
* "Agnes" <(E-Mail Removed)> scripsit:
> i saw some .net demo, there is a property for the button or check box called
> "visualstyle" (something like that)
> In my.net 2000 , there is not such property. Does it belongs to 2005 ??


I don't think there will be such a property because buttons with
standard style are drawn with visual styles in .NET 2.0.

In .NET 2003, you will have to set the control's 'FlatStyle' property to
'System' and pace these two calls before instantiating and showing the
forms (for example, in 'Sub Main'):

\\\
Application.EnableVisualStyles()
Application.DoEvents() ' Bug fix.
///

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

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WPF - Changing Radio Button to have Command Button Style??? samadams_2006@yahoo.ca Microsoft C# .NET 1 7th Feb 2009 04:17 PM
Currency Style Button applies Accounting Style Lew_Cousineau@yahoo.com Microsoft Excel Discussion 1 25th Oct 2006 08:11 PM
Windows properties page button not visual style =?Utf-8?B?VGN3?= Windows XP Customization 0 23rd Nov 2005 04:10 AM
Visual style David Microsoft C# .NET 8 3rd Dec 2004 12:31 AM
XP visual style =?Utf-8?B?R2FyeSBNaWxsZXI=?= Microsoft Dot NET 4 21st Oct 2004 05:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 PM.