-
Content Count
74 -
Joined
-
Last visited
Community Reputation
0 NeutralTechnical Information
-
Delphi-Version
Delphi 10.2 Tokyo
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Thanks for reply
-
I am not now talking about now TMS Component , I am talking about general ListBox Component
-
How to Solve if any of the ListBox Items does not contain even first char of EditBox , ListBox items should not get clear , ListBox items must remain as it is because search criteria does not match any of the ListBox item. Sorry for my bad English
-
Thanks but There is still issue If we enter any unmatched letter in Editbox lisbox items gets cleared whereas if not matched listbox should not get clear Example ListBox Items Dog Rat Cat and If in EditBox I Enter z or x , listbox gets cleared , how to solve this
-
Here I have tried the filter method with listbox and so far it works well procedure TForm1.FormCreate(Sender: TObject); Begin list_global := TStringList.Create; list_global.Assign(listBox1.Items); End; procedure TForm1.Edit1Change(Sender: TObject); Var list_filter: TStringList; i: Integer; Begin list_filter := TStringList.Create; list_filter.Assign(listBox1.Items); listBox1.Clear; for i := 0 to list_filter.Count - 1 do if pos(Edit1.text, list_filter[i]) > 0 then listBox1.Items.Add(list_filter[i]); End; How can I switch off the filter so that I can get back the items in listbox incase serach is not matched or clearing EditBox listBox1.Items := list_global;
-
May be my request is not properly explained Is there any way to Search/Filter TMS HTMListBox Items with EditBox like TMS AdvListBox
-
Is there any way to Filter TMS HTMListBox Items like TMS AdvListBox
-
Yes right need to remove strings in brackets including brackets
-
Thanks a lot for reply I have Memo line in which there are such strings which are not specific otherwise I can use StringReplace method ,strings are in brackets () and I want to delete those strings which are with brackets suppose This is (string) which need to (remove) Need to delete (string and (remove) from the above
-
This is basic and you have tried to replace the string you already know. String can be anything in brackets and need to delete the string including brackets .. all the string occurrences in line which is with bracket need to delet
-
I have a string like This is (string) which need to (remove) How can I delete strings (string) and (remove) so that result should be This is which need to
-
but on my system TOSVersion.ToString returns Windows 10