Sorry for bothering you.
I think I've found a bug in the TAdvDBFilterDialog.
Caption of the buttons cannot be changed.
There are the list:
- ApplyButton
- ClearButton
- RestoreButton
I haven't checked all the UI options.
TMS VCL UI Pack version 13.1.7.2
Another problem I found.
When specify "columnName = cnDisplayLabel" the list of the fields seems to be "cnFieldName".
Just a question:
Is there a way to set the width of the Dialog?
I haven't found it.
Thanks again for your support.
We've seen the issue with ApplButton, ... and applied a fix. The next update will address this.
I could not see an issue with csDisplayLabel vs cnFieldName.
How to reproduce this?
We will add an OnShow event to TAdvDBFilterDialog from where you can set the form's Width & Height. This will be in the next version.
Thank you Bruno.
I place a TAdvDBFilterDialog on the form and set Property ColumnName to cnDisplayLabel.
But, when I click on the "Filter Dialog Column" edit to select the field, it display the name of the fields instead the label on the grid.
Another question:
Is there a possibility to select only certain fields and not all the fields in DataSource?
I.E. avoid to display internal fields to the customer like ID or whatever.
I retested this here with the demo. I added the persistent fields for the ADOQuery component and set the DisplayLabel to a different value from the fieldnames and I see in the column picker in the filter dialog the DisplayLabels (when ColumnName = cnDisplayLabel)
If you follow different steps and somehow a problem persists, please isolate this and provide a sample source project with which we can reproduce the problem here.
I create a query with join different tables, then copy some fields in a ClientDataSet created on-the-fly. I'll retry.