Jump to content
uniGUI Discussion Forums
Sign in to follow this  
jahlxx

showmessage copy

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

sorry.

 

can't reproduce in a testcase.

 

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

 

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Hi,

 

Once again, please explain your question in more details

 

We will try to help you with it

 

Best regards,

Share this post


Link to post
Share on other sites

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

 

Sorry, but I can't explain better.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Hi,

 

We will try to help you, but sorry, it is not clear to me what your problem is?

Share this post


Link to post
Share on other sites

showmessage, mark the text with the mouse, and copy (ctrl +c)

 

Enviado desde mi SM-A500FU mediante Tapatalk

Share this post


Link to post
Share on other sites

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?!

post-906-0-66975500-1523816998_thumb.gif

Share this post


Link to post
Share on other sites

exactly that.

 

I can't do it

 

Enviado desde mi SM-A500FU mediante Tapatalk

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites

What about sending that error message to yourself, 

as it gets shown to the user?

Share this post


Link to post
Share on other sites

As DD said this is may  cause by CSS role.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×