ice Posted April 27, 2016 Posted April 27, 2016 Hallo, what is the best way too backcolor hatch a uniDBmemo by checkfield (yes,no). sorry for my english Quote
Sherzod Posted April 28, 2016 Posted April 28, 2016 Hi, If I understand you correctly, try this: In your DataSource->onDataChange event procedure TMainForm.DataSource1DataChange(Sender: TObject; Field: TField); begin // your conditions... // For example: if DataSource1.DataSet.FieldByName('Length (cm)').AsInteger < 20 then UniDBMemo1.Color := clGreen else UniDBMemo1.Color := clLime end; Best regards. Quote
ice Posted April 28, 2016 Author Posted April 28, 2016 Thanks, but i mean like this https://css-tricks.com/stripes-css/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.