Jump to content


Photo

showmessage copy


  • Please log in to reply
10 replies to this topic

#1 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 10 November 2017 - 11:58 AM

Hi.

 

Is possible to copy the text showed in a showmessage window?

 

Thanks.

 


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3432 posts

Posted 10 November 2017 - 12:04 PM

Hi,

 

Sorry, can you clarify your question ?!


  • 0

#3 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 10 November 2017 - 12:35 PM

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.


  • 0

#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3432 posts

Posted 10 November 2017 - 12:40 PM

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


  • 0

#5 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 10 November 2017 - 02:17 PM

sorry.

 

can't reproduce in a testcase.

 

I only do: showmessage('mesage-1');

 

And can't copy the message text from the dialog window.


  • 0

#6 Abaksoft

Abaksoft

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 462 posts
  • LocationAlgeria

Posted 14 November 2017 - 06:06 AM

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.
  • 0

#7 Oliver Morsch

Oliver Morsch

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 196 posts
  • LocationGermany

Posted 14 November 2017 - 08:49 AM

Or select the Text with mouse and press <CTRL>+<C>.


  • 0

#8 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 14 November 2017 - 12:43 PM

Abaksoft:

capture of screen: now, they work in that way, and is not soft.

 

Oliver Morsch

copy from text window is what I want, but don't work. I can't select and copy. that is my problem


  • 0

#9 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3432 posts

Posted 14 November 2017 - 12:52 PM

Hi,

 

Once again, please explain your question in more details

 

We will try to help you with it

 

Best regards,


  • 0

#10 jahlxx

jahlxx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 675 posts

Posted 14 November 2017 - 01:24 PM

The window message text semms to be enabled and can't select text for copy / paste

 

Sorry, but I can't explain better.


  • 0

#11 RobYost

RobYost

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 175 posts
  • LocationFlorida, USA

Posted 14 November 2017 - 03:01 PM

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.


  • 0

http://unigui.mirahe.../wiki/Main_Page

Please add any utilities you think are useful. I will try to keep the wiki organized.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users