jahlxx Posted November 10, 2017 Share Posted November 10, 2017 Hi. Is possible to copy the text showed in a showmessage window? Thanks. Link to comment Share on other sites More sharing options...
Sherzod Posted November 10, 2017 Share Posted November 10, 2017 Hi, Sorry, can you clarify your question ?! Link to comment Share on other sites More sharing options...
jahlxx Posted November 10, 2017 Author Share Posted November 10, 2017 When an error happens, I show a message with the error text using showmessage. The user have to type the full message to send me an email, and could ve useful to copy the message and paste to the email. Link to comment Share on other sites More sharing options...
Sherzod Posted November 10, 2017 Share Posted November 10, 2017 The user have to type the full message to send me an email, and could ve useful to copy the message and paste to the email. Please make a testcase if possible Link to comment Share on other sites More sharing options...
jahlxx Posted November 10, 2017 Author Share Posted November 10, 2017 sorry. can't reproduce in a testcase. I only do: showmessage('mesage-1'); And can't copy the message text from the dialog window. Link to comment Share on other sites More sharing options...
Abaksoft Posted November 14, 2017 Share Posted November 14, 2017 A capture of screen can help here. The user : 1. tape on keyword [Printscreen] key 2. save the image on paint 3. Send it to you by email. Regards. Link to comment Share on other sites More sharing options...
Oliver Morsch Posted November 14, 2017 Share Posted November 14, 2017 Or select the Text with mouse and press <CTRL>+<C>. Link to comment Share on other sites More sharing options...
jahlxx Posted November 14, 2017 Author Share Posted November 14, 2017 Abaksoft:capture of screen: now, they work in that way, and is not soft. Oliver Morschcopy from text window is what I want, but don't work. I can't select and copy. that is my problem Link to comment Share on other sites More sharing options...
Sherzod Posted November 14, 2017 Share Posted November 14, 2017 Hi, Once again, please explain your question in more details We will try to help you with it Best regards, Link to comment Share on other sites More sharing options...
jahlxx Posted November 14, 2017 Author Share Posted November 14, 2017 The window message text semms to be enabled and can't select text for copy / paste Sorry, but I can't explain better. Link to comment Share on other sites More sharing options...
RobYost Posted November 14, 2017 Share Posted November 14, 2017 DelphiDeveloper - I think what Jahlxx is trying to say is: In Delphi, if you get an error message (from showmessage, etc.) you can click CTRL-C and the message is copied to the clipboard. This doesn't work with UniGui messages. ----------------------------- One solution I just thought of. procedure MyShowMessage(aText: String); begin Clipboard.AsText := aText; ShowMessage(aText); end; I just typed this code in. I didn't test it. It is just an idea. Link to comment Share on other sites More sharing options...
jahlxx Posted April 15, 2018 Author Share Posted April 15, 2018 Hi, Once again, please explain your question in more details We will try to help you with it Best regards, Hi. I still can't do this. Works in unigui demos, but not in my apps. Sometyhing must be wrong, and I don't know what and / or where. I really need this, and don't know how to solve it. What could be causing this? I'm really lost. Thanks in advance. Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2018 Share Posted April 15, 2018 Hi, We will try to help you, but sorry, it is not clear to me what your problem is? Link to comment Share on other sites More sharing options...
jahlxx Posted April 15, 2018 Author Share Posted April 15, 2018 showmessage, mark the text with the mouse, and copy (ctrl +c) Enviado desde mi SM-A500FU mediante Tapatalk Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2018 Share Posted April 15, 2018 showmessage, mark the text with the mouse, and copy (ctrl +c) Enviado desde mi SM-A500FU mediante Tapatalk Like this, I'm sorry, I don't understand you, what problem do you have?! Link to comment Share on other sites More sharing options...
jahlxx Posted April 15, 2018 Author Share Posted April 15, 2018 exactly that. I can't do it Enviado desde mi SM-A500FU mediante Tapatalk Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2018 Share Posted April 15, 2018 Which browser are you using?! Link to comment Share on other sites More sharing options...
jahlxx Posted April 15, 2018 Author Share Posted April 15, 2018 firefox. but the demos works. the problem in something in my apps. but I can't find what and where Enviado desde mi SM-A500FU mediante Tapatalk Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2018 Share Posted April 15, 2018 Are you using CSS rules in CustomCSS? Link to comment Share on other sites More sharing options...
Sherzod Posted April 15, 2018 Share Posted April 15, 2018 Are you using CSS rules in CustomCSS? Something like this?: http://forums.unigui.com/index.php?/topic/9979-preventing-unilabel-text-selection-highlighting/&do=findComment&comment=51972 Link to comment Share on other sites More sharing options...
jahlxx Posted April 16, 2018 Author Share Posted April 16, 2018 Ok. Found !! I use this: http://forums.unigui.com/index.php?/topic/1244-signature-capture/?hl=signature-pad&do=findComment&comment=42102 And in signature-pad.css are these 3 lines: -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; I've commented that lines, and now everything woks fine. Can select cell in a grid, in edit mode or not, and text in showmessages. Many many many ... thanks, friend. Link to comment Share on other sites More sharing options...
Sherzod Posted April 16, 2018 Share Posted April 16, 2018 You are welcome! Link to comment Share on other sites More sharing options...
Ron Posted April 16, 2018 Share Posted April 16, 2018 What about sending that error message to yourself, as it gets shown to the user? Link to comment Share on other sites More sharing options...
mhmda Posted April 16, 2018 Share Posted April 16, 2018 As DD said this is may cause by CSS role. 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