We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Setting ButtonEdit FlatStyle to System erases icon

Thread ID:





3168 Mar 6,2003 08:26 AM Mar 6,2003 11:08 AM Windows Forms 1
Tags: Tools
Administrator [Syncfusion]
Asked On March 6, 2003 08:26 AM

Hi, 1. Add a ButtonEdit to a form. 2. Add a button to the button edit. 3. Set the FlatStyle to System. The button image disappears. Also, when you set the FlatStyle of CurrenctEdit to System, calculator icon disappears. This happens both on Win2K and XP. Can you please look into this and let me know what is going on. thanks, - Reddy

Replied On March 6, 2003 11:08 AM

Reddy, You can try with a classic button (System.Windows.Forms.Button), you'll have the same behavior. You can try to override OnPaint method and paint the image your self. Sebastien


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.