thiagopedro Posted June 20, 2018 Share Posted June 20, 2018 MainForm.UniEdit SetValue("TEXT"); ==> OK MainForm.UniLabel SetText("TEXT"); ==> OK MainForm.UniMemo ????? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 20, 2018 Share Posted June 20, 2018 Hi, Do you want to use JS code on the client side? Quote Link to comment Share on other sites More sharing options...
thiagopedro Posted June 20, 2018 Author Share Posted June 20, 2018 Hi, Do you want to use JS code on the client side? uniHTMLFrame Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 20, 2018 Share Posted June 20, 2018 Have you tried?: MainForm.UniMemo1.setValue('test'); Quote Link to comment Share on other sites More sharing options...
thiagopedro Posted June 20, 2018 Author Share Posted June 20, 2018 Have you tried?: MainForm.UniMemo1.setValue('test'); Yes. I tried "... setValue (" text ")" and "... setText (" text ") attached demo forum_unigui.7z Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 21, 2018 Share Posted June 21, 2018 Hi, OK JavaScript is a case-sensitive scripting language! You have: uniMemo1 You use: MainForm.UniMemo1.SetValue("test"); In your case it should be: MainForm.uniMemo1.setValue("test"); Quote Link to comment Share on other sites More sharing options...
mehamada Posted November 5, 2019 Share Posted November 5, 2019 how to add many lines in uniMemo Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 6, 2019 Share Posted November 6, 2019 7 hours ago, mehamada said: how to add many lines in uniMemo Can you please explain in more detail? Quote Link to comment Share on other sites More sharing options...
mehamada Posted November 6, 2019 Share Posted November 6, 2019 2 hours ago, Sherzod said: Can you please explain in more detail? when click button it will add new line in memo as in delphi but through client event (java script) memo1.lines.add("1"); memo1.lines.add("2"); memo1.lines.add("3"); Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 6, 2019 Share Posted November 6, 2019 30 minutes ago, mehamada said: when click button it will add new line in memo as in delphi but through client event (java script) Do you want to use client side code? Quote Link to comment Share on other sites More sharing options...
mehamada Posted November 6, 2019 Share Posted November 6, 2019 yes Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 6, 2019 Share Posted November 6, 2019 3 minutes ago, mehamada said: yes Please provide an example of what code you use for this. Quote Link to comment Share on other sites More sharing options...
mehamada Posted November 6, 2019 Share Posted November 6, 2019 i am actaully want the code, not created, waiting you to provide me with the code Quote Link to comment Share on other sites More sharing options...
Sherzod Posted November 6, 2019 Share Posted November 6, 2019 4 minutes ago, mehamada said: i am actaully want the code, not created, waiting you to provide me with the code If you want to use JS code then one possible solution I think: MainForm.UniMemo1.setValue('line1\nline2\nline3') Quote Link to comment Share on other sites More sharing options...
mehamada Posted November 6, 2019 Share Posted November 6, 2019 thank you for great support 1 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.