sasa22 Posted February 13, 2022 Share Posted February 13, 2022 i use dbgri and i have a field actioncolums -> buttons, we use imageindex -> 0 how can i change the image in the field actioncolums -> buttons say imageindex -> 2 for some condition columns [0] <1000 display imageindex -> 0 columns [0]> 1000 show imageindex -> 2 ---------------------------------------------------------------------------------------------------------- Unigui version 1.90.0.1514 -trial edition I'm just trying out the possibilities, Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 13, 2022 Share Posted February 13, 2022 Hello, First please specify which edition and build of UniGUI are you using? Quote Link to comment Share on other sites More sharing options...
x11 Posted February 21, 2022 Share Posted February 21, 2022 procedure TfrdCallHistory.qDataCalcFields(DataSet: TDataSet); begin if DataSet.Fields[fIdxIsOut].AsBoolean then DataSet.Fields[fIdxCallType].AsString := '<i class="fas fa-sign-out-alt"></i>' else DataSet.Fields[fIdxCallType].AsString := '<i class="fas fa-sign-in-alt"></i>'; end; i use separate column Quote Link to comment Share on other sites More sharing options...
bahry Posted May 17, 2022 Share Posted May 17, 2022 Hello @x11 Did you solve this issue? Regards Quote Link to comment Share on other sites More sharing options...
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.