Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: dynamiccurrentcontrol in grids

$
0
0
Re: dynamiccurrentcontrol in grids
FoxInCloud
Re: dynamiccurrentcontrol in grids
Dec. 23, 2012
04:15 am
3OA1FEP40Show this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Tuvia Vinitsky
I would try
.columnx.dynamicbackcolor = 'somemethod' && or any other .dynamic*() method

PROCEDURE somemethod
thisform.grid.columnx.img.Visible = table1.amount>0
return rgb(255,255,255) && white

What do you suggest for workaround, the client has a gird and in ColumnX there is a text control (empty) and an image control with a certain picture. He uses

.dynamiccurrentcontrol = iif(table1.amount>0 , 'textcontrol', 'imagecontro;')

Thus thre image shows for those rows where the amount is positive.

Each row can be edited in the grid, so the image cannot just be set once. The grid data source is a cursor (and must be a cursor).


unfortunately, no


is dynamiccurrentcontrol supported in grid columns?




-- thn (FoxInCloud)


Viewing all articles
Browse latest Browse all 10393

Trending Articles