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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





29609 May 30,2005 03:55 PM UTC May 30,2005 08:39 PM UTC WinForms 3
Tags: GridControl
Stefan Tsalapatis
Asked On May 30, 2005 03:55 PM UTC

Hi, 1. a small bug (3.2.1) CurrentCell.MovePageDown - Up work opposite. 2. May be you can help me in a very specific issue. In a GridGontrolBase which activates custom controls without real need of renderers. I activated them myself. (at any case - Every cell has a staticRenderer). One cell of them does not activate a control . I handle it directly from Grid, drawing images and accepting keyboard keys. What is my problem . if no other control was activated before then if I click it is activated immediatelly with the frame and accepts keyboard. When another control is activated and deactivated later (by me, without raising any events ) in CurrentCell moving before continue to this cell, then the cell it does not activating but it is the Current Cell. I have tried everything to activated it in CurrentCell.Moved. I have tried and in another place with MoveTo with different Options but in this case it is activating but it does not accept the first keyboard key. if you have any idea about this I will appreciate it. Thanks Stefan

Administrator [Syncfusion]
Replied On May 30, 2005 04:49 PM UTC

Thank you for reporting the pageup/pagedown problem. Try calling CurrentCell.ResetCurrentCellWithoutDeactivate in CurrentCellMoved to see if that will affect this problem.

Stefan Tsalapatis
Replied On May 30, 2005 08:02 PM UTC

Thanks Clay The ResetCurrentCellWithoutDeactivate solved one part of the problem ( it accepted the keyboard but it did not draw the frame and it did not refresh the previous cell). But I inspired and I found another solution: In DrawCell I check for CurrentCell.IsInMoveTo and do the appropriate action. It works excellent. By the way I have two minor questions: 1. If I want (in special cases) to force the drawing of cell by demand ( not in OnDraw or DrawCell ) I need the Graphics . I create fromHwnd and release after. Is it the right way ? 2. Is there any function to Draw the Activation Frame of the current cell. Thanks again >Thank you for reporting the pageup/pagedown problem. > >Try calling CurrentCell.ResetCurrentCellWithoutDeactivate in CurrentCellMoved to see if that will affect this problem.

Administrator [Syncfusion]
Replied On May 30, 2005 08:39 PM UTC

1) Yes. 2) The currentcell frame is normally drawn by this virtual method in the cellrenderer class. OnOutlineCurrentCell. There is no helper method used that actually draws it though.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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