thiagopedro Posted June 20, 2018 Share Posted June 20, 2018 MainForm.UniEdit SetValue("TEXT"); ==> OK MainForm.UniLabel SetText("TEXT"); ==> OK MainForm.UniMemo ????? 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? 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 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'); 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 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"); 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 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? 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"); 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? Link to comment Share on other sites More sharing options...
mehamada Posted November 6, 2019 Share Posted November 6, 2019 yes 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. 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 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') 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now