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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...