vfpmania
Programmer
- Mar 3, 2008
- 2
I am using the following method in init event of grid to assign the picture property of command button control in the column.
grid's init method:
This.Column9.SetAll("Picture", Iif(Upper(AllTrim(trnhdr01.shipvia)) = "DHL", "tracking\dhl.jpg", "tracking\ups.jpg"), "commandbutton")
But, every row has same picture.
What am I doing wrong?
Thanks.
grid's init method:
This.Column9.SetAll("Picture", Iif(Upper(AllTrim(trnhdr01.shipvia)) = "DHL", "tracking\dhl.jpg", "tracking\ups.jpg"), "commandbutton")
But, every row has same picture.
What am I doing wrong?
Thanks.