Hello,
I have two questions again.
1. How can I color the NxDBProgressColumn based on the corresponding column value?
2. When I try to set the text to tpInside using the TextPosition property, it is still displayed to the left of the progress bar. Is it even possible to display it as shown in the attached screenshots?
Thanks and regards, Maik
I've solved point 1.
procedure TForm.NxDBProgressColumn6GetValue(Sender: TObject; ACol, ARow: Integer; var Value: Double);
begin
NxDBProgressColumn6.ProgressColor := RGB(200, 230, 201); // lightgreen
if Value < 100 then NxDBProgressColumn6.ProgressColor := RGB(255, 205, 210); // lightred
if Value < 50 then NxDBProgressColumn6.ProgressColor := RGB(187, 222, 251); // lightblue
end;
There's still the question of text positioning, for which I haven't found a solution yet......