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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

commentmousecontroller gridstyle

Thread ID:

Created:

Updated:

Platform:

Replies:

35354 Sep 28,2005 01:34 PM UTC Oct 3,2005 04:16 PM UTC WinForms 5
loading
Tags: GridControl
Kevin Vickers
Asked On September 28, 2005 01:34 PM UTC

in the commentmousecontroller a gridstyle gets created... how does this get associated with the grid cells ? I am trying to combine this controller with a formula selection controller .. but everytime i get a comment edit box it seems to disappear as if its not the front control anymore .. particularly if i press

stanleyj [Syncfusion]
Replied On September 29, 2005 11:31 AM UTC

Hi Kevin, In CommentMouseController.cs you must have seen MouseHover and MouseHoverLeave handlers. In GridCellComment.cs you must have seen that there are Label and RichTextBox in the Form, this form is hidden and shown as the mouse hovers over the particular area. As long as the edit cursor remains in the rtf this form is available while editing. Let me know if you need more details. Is it possible to upload the sample, so that we can look that here. Best regards, Stanley

Administrator [Syncfusion]
Replied On September 29, 2005 12:01 PM UTC

first question is ... is it best to combine the two controllers or leave them separate... the edit box for comments comes up but if i press return for a new line it disappears but lost focus doesnt occur so i think it has just gone behind something.. just to add complication this is a grid inside a grid-cell :-)

Administrator [Syncfusion]
Replied On October 3, 2005 09:39 AM UTC

i have taken the grid in cell sample and added the cell comment sample... what happens is the main grid is still taking some keypresses ...esp return. when in the comment editor so the comment editor seesm to disappear gridincell+_9977.zip

Administrator [Syncfusion]
Replied On October 3, 2005 03:42 PM UTC

Here is your sample back. http://www.syncfusion.com/Support/user/uploads/GridInCells_cf23583b.zip Code was added in the EditComment to explicitly show and position that window. Search for //change. Also code was added in the ProcessKeyEventArgs method to handle the Enter key problem.

Administrator [Syncfusion]
Replied On October 3, 2005 04:16 PM UTC

cool... semems to have got it thanks

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.

Warning Icon 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.Close Icon

;