commentmousecontroller gridstyle
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
SIGN IN To post a reply.
5 Replies
ST
stanleyj
Syncfusion Team
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
AD
Administrator
Syncfusion Team
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 :-)
AD
Administrator
Syncfusion Team
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
AD
Administrator
Syncfusion Team
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.
AD
Administrator
Syncfusion Team
October 3, 2005 04:16 PM UTC
cool... semems to have got it
thanks
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
KV Kevin Vickers
- Sep 28, 2005 01:34 PM UTC
- Oct 3, 2005 04:16 PM UTC