Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Ability to change Selected/SelectedInactive cell brush

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Ability to change Selected/SelectedInactive cell brush
Link Posted: 12-Jun-2006 11:39
As I said a couple times already, no I don't modify my cell rect.

Also I inserted debug code in begin and endpaint and I'm getting:

BeginPaint: {X=0,Y=0,Width=75,Height=14}
EndPaint: {X=0,Y=0,Width=75,Height=14}

... so there is something wrong with the rect coming in ...
Link Posted: 12-Jun-2006 12:10
Can you provide me with a sample? Or try to reproduce this problem on spreadsheet sample (this sample uses IStyleNode implementor)?
Seems that your grid has some specific settings that will help us to fix this error.
Link Posted: 12-Jun-2006 20:47
Now that's interesting ... I emailed you a sample that throws a StockOverflowException whenever I enter a value in the 1st cell of col1.
Link Posted: 12-Jun-2006 21:49
Sorry but we've not received any e-mail.
I've checked - last e-mail from you dated by 17.05.2006.
Please resend this e-mail or provide download link.

Also - we've tested sample that you've provided 16.05.2006 - this sample works fine and FlyGrid.Net provides correct rectangles.
Link Posted: 12-Jun-2006 21:52
http://www.kingvest.de/bugs/WindowsApplication8.rar
Link Posted: 12-Jun-2006 21:57
thanks, but ...
This sample works fine - I've succesfully entered value into first cell.
Tested on v1.4.0.10
Link Posted: 12-Jun-2006 22:01
Debug output is also correct:
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=45,Width=198,Height=18}
{X=2,Y=45,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=26,Width=198,Height=18}
{X=2,Y=26,Width=197,Height=17}
{X=2,Y=45,Width=198,Height=18}
{X=2,Y=45,Width=197,Height=17}
{X=2,Y=45,Width=198,Height=18}
{X=2,Y=45,Width=197,Height=17}
{X=2,Y=45,Width=198,Height=18}
{X=2,Y=45,Width=197,Height=17}
{X=201,Y=45,Width=197,Height=18}
{X=201,Y=45,Width=196,Height=17}
{X=201,Y=45,Width=197,Height=18}
{X=201,Y=45,Width=196,Height=17}
{X=201,Y=45,Width=197,Height=18}
{X=201,Y=45,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
{X=201,Y=26,Width=197,Height=18}
{X=201,Y=26,Width=196,Height=17}
Link Posted: 12-Jun-2006 22:02
...using exactly the sample I sent you:


I tried with 1.4.9 and 1.4.10
Link Posted: 12-Jun-2006 22:12
Yes, using your sample exactly:
Link Posted: 12-Jun-2006 23:38
Well, this doesn't bring us any further... you say it works, I say it doesn't using exactly the same sample... something must be the reason for this

When I run it in the debugger I'm getting:

FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the error was at 0x7f570c2b, on thread 0x5f8. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.