[SOLVED] Weird behaviour adding jListview item with brackets lazarus / 43-Android ---------------------------------------------------------------------- jluixjurado · 2022-10-05 16:25 Hi there! I've just found a extrange behaviour when adding an item to a jListview which contains brackets. You can reproduce it using, for instance, the AppDemo1 inside Listview Module. If you add an item with the text 'hello(there' the component only displays 'there' If you add an item with the text 'hello)there' it only displays hello If you add an item with the text 'hello(t)here' the output is 't' (and, to my astonishment, flipping the positions of the image and the checkbox controls inside the item!!!) Is it a bug or a hidden (to me) feature? ---------------------------------------------------------------------- jmpessoa · 2022-10-06 20:37 Hi, jluixjurado! "("   and  ")"   are defaults left/right  item text delimiter/separator .... example: 'Hello(Android)World'    will produce: Hello                   Android               World ---------------------------------------------------------------------- jluixjurado · 2022-10-06 21:51 Hi, jmpessoa! Thanks for your answer. I didn't know about those left/right delimiter properties (and I can't find them in the jListView Object Inspector Window) and, what most struck me was the change of position between the row image and the control when using both ( and ). I would like to disable the default parenthesis behaviour, but I can't sort out how. BTW: Have been you able to read my last post in this topic (https://forum.lazarus.freepascal.org/index.php/topic,60560.0.html)? I think there could be a problem with the new INSERT method you added to jListview a week ago. If you don't have time to fix it I would like to help but I need a bit of advice because I'm not sure how things behave in LAMW (altough I have some experience in Pascal and Android Java) Thanks again! ---------------------------------------------------------------------- jmpessoa · 2022-10-08 16:19 QuoteI would like to disable the default parenthesis behavior, but I can't sort out how.... Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TAndroidModule1.AndroidModule1JNIPrompt(Sender: TObject);begin   jListView1.SetLeftDelimiter('[');   jListView1.SetRightDelimiter(']');end;  QuoteI'm not sure how things behave in LAMW (altough I have some experience in Pascal and Android Java ...) Good! You are welcome! I can help you about how LAMW code works! ---------------------------------------------------------------------- jluixjurado · 2022-10-12 08:55 Oh! I hadn't noticed those methods! Thank you very much!