Jump to content

Problem Copy, Paste UniEdit Text Popup menu


Kanat

Recommended Posts

 

Uses CLIPBrd....

 

Select the text UniEdit and click the right mouse button and run context menu . 

procedure TMainForm.CommentEditMouseDown(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
begin
  if Button=mbRight then
     UniPopupMenu1.Popup(828+X,Height+18+Y);
end;
 

When I want to copy the selected uniedit text.

procedure TMainForm.N1Click(Sender: TObject);
begin
  Clipboard.Clear;
  Clipboard.AsText:=CommentEdit.Text; 
end;

After right-clicking the selection text disappears.

 

 

Link to comment
Share on other sites

It may work when server and client both are in same PC (Sharing same clipboard)

What will happen when client is running in a brwoser in another PC?

 

create  ISAPI dll module run to my IIS server.  "Clipboard"  It works fine.

 

Farshad, please, in the next version UniGUI can add Properties of uniedit.seltext

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...