|
-
Oct 19th, 2006, 12:14 PM
#1
Thread Starter
Fanatic Member
[2.0] Flat Button Appearance
I have a series of buttons that are created progromatically.
I need to change their flatstyle to FlatStyle.Flat, which I've done,
but now I need to alter their .FlatAppearance parameters.
Basically, bordersize =0.
These are normal buttons, but I get them from a separate DLL, as
they have some inherited interfaces tacked onto them.
All their normal props and methods are available, but .FlatAppearance is read-only.
Any suggestions?
-
Oct 19th, 2006, 05:36 PM
#2
Re: [2.0] Flat Button Appearance
FlatAppearance being ReadOnly is not an issue. All that means is that you cannot create a new FlatButtonAppearance object and assign it to the property. It doesn't stop you editing the properties of the existing object. Just set the FlatAppearance.BorderSize property to zero and you're away.
-
Oct 20th, 2006, 08:58 AM
#3
Thread Starter
Fanatic Member
Re: [2.0] Flat Button Appearance
I swear I tried that. 
Thanks (again)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|