That would not work, since the wwsearchbox search field is updated when the sort order changes. I have a new update coming out tomorrow that should address this.
You can click on the Fields property, and then for the fields you want to search in any part of the string, set the FilterMatchType to sbfmtMatchAnywhere
That would not work, since the wwsearchbox search field is updated when the sort order changes. I have a new update coming out tomorrow that should address this.
How about?
procedure TXForm.wwLookupInitDialog(Sender: TObject;LookupDialogForm: TwwLookupDialogForm);
begin
LookupDialogForm.wwSearchBox1.Fields[0].FilterMatchType:=TwwSearchBoxFilterMatchType.sbfmtMatchAnywhere;
LookupDialogForm.wwSearchBox1.Fields[3].FilterMatchType:=TwwSearchBoxFilterMatchType.sbfmtMatchAnywhere;
LookupDialogForm.wwSearchBox1.Fields[5].FilterMatchType:=TwwSearchBoxFilterMatchType.sbfmtMatchAnywhere;
LookupDialogForm.wwSearchBox1.Fields[6].FilterMatchType:=TwwSearchBoxFilterMatchType.sbfmtMatchAnywhere;
end;
CAN IT BE POSSIBLE?
Oh, I see. I thought you were talking about TwwSearchBox. I will log this to be included soon.
There is no such property FilterMatchType in the wwLookUpdialog as in the wwSearch component.
You can click on the Fields property, and then for the fields you want to search in any part of the string, set the FilterMatchType to sbfmtMatchAnywhere