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.

ButtonAdv with transparent gif

Thread ID:

Created:

Updated:

Platform:

Replies:

45190 Jun 13,2006 05:12 PM Jun 19,2006 08:31 AM Windows Forms 7
loading
Tags: Tools
Will O'Brien
Asked On June 13, 2006 05:12 PM

Hi - I am trying to make an image button - use ButtonAdv with a transparent gif as the Image. I am using ImageList and setting ImageIndex. When I hover over the button, a grey shading appears around the gif to the boundary of the button control. Can I disable that somehow? Please see attached image for depiction of the button in regular and hover state. Thanks. -Will

imagebutton.zip

Anupama Roy [Syncfusion]
Replied On June 14, 2006 08:29 AM

Hi Will, I doubt whether it is possible to get the transparency to work with the hover options.Have you tried using icons instead of gif for the images? Thanks, Anu.

Will O'Brien
Replied On June 14, 2006 12:49 PM

Hi Anu - I initially tried with *.ico and found the same result. Do you have an example I could look at to have this behavior? What I would like is a circular image button that does not have a shaded rectangular border when I hover. Thanks. -Will

Anupama Roy [Syncfusion]
Replied On June 15, 2006 04:45 AM

Hi Will, It would be appreciable if you can send me the transparent gif image that you have used. Thanks, Anu.

Will O'Brien
Replied On June 15, 2006 03:42 PM

Hi Anu - Attached are *.ico and *.gif files. Can you use these in a prototype please? Thanks. -Will

panel_rolldown_hover.zip

Anupama Roy [Syncfusion]
Replied On June 16, 2006 09:46 AM

Hi Will, I checked this in a sample.But I could not reproduce the issue that you have mentioned here.Are you trying to make the button also circular in shape? Thanks, Anu.

Will O'Brien
Replied On June 16, 2006 12:42 PM

Can you provide the code for the sample please?

Anupama Roy [Syncfusion]
Replied On June 19, 2006 08:31 AM

Hi Will, I am not sure whether this is what you are trying for.Please have a look at the following sample. button_image.zip It would be appreciable if you can modify this sample inorder to show us the issue. Thanks, Anu.

CONFIRMATION

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.

;