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.

DropDownGrid arrow not displaying

Thread ID:

Created:

Updated:

Platform:

Replies:

67772 Aug 29,2007 03:58 PM Aug 30,2007 09:52 PM Windows Forms 2
loading
Tags: GridControl
Greg Goodall
Asked On August 29, 2007 03:58 PM

I used the DropDownGrid VB.NET source sample to successfully create the new celltype and assign it to a DataGrid cell. In the Syncfusion sample the cell has an arrow on the right side of the cell that changes to a soft orange backcolor when the mouse hovers over it. I cannot get the arrow and the orange backcolor to appear. I was able to create the dropdowngrid when I clicked the "box" where the arrow should be though.

What am i missing?

Thanks

Greg Goodall
Replied On August 30, 2007 09:00 AM

Problem Resolved. I had some residual code in the Grid's DrawCellButtonBackground event that was messing it up. I took it out and it displays fine now.


'Dim drawPressed As Boolean = (e.ButtonState And ButtonState.Pushed) <> 0
'Dim rect As Rectangle = e.Bounds
'Dim g As Graphics = e.Graphics
'Dim hilight As Color = SystemColors.ControlLightLight
'Dim shadow As Color = SystemColors.ControlDarkDark
''Dim hilight As Color = Color.LightSeaGreen
''Dim shadow As Color = Color.MediumSeaGreen
'If Not drawPressed Then
' Draw3dFrame(e.Graphics, rect.Left, rect.Top, rect.Right - 1, rect.Bottom - 1, 1, hilight, shadow)
'Else
' Dim br As Brush = New SolidBrush(shadow)
' g.FillRectangle(br, Rectangle.FromLTRB(rect.Left, rect.Bottom - 1, rect.Right - 1, rect.Bottom))
' g.FillRectangle(br, Rectangle.FromLTRB(rect.Right - 1, rect.Top, rect.Right, rect.Bottom))
' br.Dispose()
'End If
'e.Cancel = True

J.Nagarajan [Syncfusion]
Replied On August 30, 2007 09:52 PM

Hi Greg,

Thanks for your continued interest in Syncfusion product.

We glad to hear that this issue has been resolved. Please let me know if you have any other concerns.

Regards,
Nagaraj


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.

;