OpenEdge GUI .NET - rowpostpaint

balta

Member
Hello,

I am using Datagridview and try to paint a row with a color if a field is true.

I have searched and find the method 'RowPostPaint'

I am using a Temp-Table

If I do this, I only get the number of first record..

Code:
 message tt_Accoes.numero
        view-as alert-box.

I have tried to do in MS way
Code:
message dgAcoes:Rows[e:RowIndex]:Cells['numero']:Value:ToString()
view-as alert-box.

But I have this error.

1636736284577.png

Anyone have achieved to solve this issue?

Thanks,
Baltazar

Windows
OE 11.6.4
 

Osborne

Active Member
I have not used a Datagridview so cannot really offer much help, but one thing that I wondered about is should Cells be a number?

So try using the column number the field numero is in. So say it is column 3 the code is:
Code:
message dgAcoes:Rows[e:RowIndex]:Cells[2]:Value:ToString() view-as alert-box.
 
Top