1. a small bug (3.2.1)
CurrentCell.MovePageDown - Up work opposite.
2. May be you can help me in a very
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
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
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.
ADAdministrator Syncfusion Team May 30, 2005 11:49 AM
Thank you for reporting the pageup/pagedown problem.
Try calling CurrentCell.ResetCurrentCellWithoutDeactivate in CurrentCellMoved to see if that will affect this problem.
STStefan TsalapatisMay 30, 2005 03:02 PM
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:
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.
>Thank you for reporting the pageup/pagedown problem.
>Try calling CurrentCell.ResetCurrentCellWithoutDeactivate in CurrentCellMoved to see if that will affect this problem.
ADAdministrator Syncfusion Team May 30, 2005 03:39 PM
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.