Jump to content


Afiag

Member Since 30 Jun 2005
Offline Last Active Jun 18 2011 11:41 PM
-----

Posts I've Made

In Topic: DBImage column

24 May 2010 - 08:35 PM

QUOTE (Boki (Berg) @ May 24 2010, 04:35 PM) <{POST_SNAPBACK}>
Hello Afiag,

Maybe using OnApplyCell event may help? Add there Value := '3';

I hope that this helps.

Best regards


Works,
thanks.

In Topic: Two NxDBGrid Questions

11 May 2010 - 01:01 AM

Question 1.
I searched the net of the usage LIMIT which seems a mysql sort of thing, tried using it in my adoquery without much success

Question 2.
I (unsucesfully) tried the following ondrawcell:
if ACol = 5 then
NextDBGrid1.Cells[ACol][ARow] = TBitmap.Create.LoadFromFile('images\ficons\24\' + Adoquery1.FieldByName('flag').AsString + '.png');

Im prolly going in the wrong direction...