Page 1 of 1

Disable drag & drop

Posted: Fri Oct 26, 2007 5:00 pm
by norberto
HI, i need disable drag & drop in memo fields, to users dont copy information, how to make this??

thanks

Posted: Sun Oct 28, 2007 11:57 am
by Antonio Linares
Norberto,

Have you tried to disable the control ?

oMemo:Disable()

Posted: Sun Oct 28, 2007 12:32 pm
by norberto
Antonio, i want only view, scroll the text , but not copy, copy& past.

thanks

Posted: Sun Oct 28, 2007 3:03 pm
by Enrico Maria Giordano
Try also the READONLY clause.

EMG

Posted: Mon Oct 29, 2007 11:29 am
by norberto
Antonio, Enrico, i try both, readonly dont work, when .f. works, but disable scrollbar too, i need disable only copy , but need scroll the memo with scrollbar.

any sugestions?

thanks

Posted: Mon Oct 29, 2007 11:32 am
by norberto
i can disable right click in memo?

Posted: Mon Oct 29, 2007 11:57 am
by norberto
sometime ago, READONLY clause works , disable drag & drop, but dont scrollbar , but in lasts versions of fwh reaonly dont disable drag $ drop.

Posted: Mon Oct 29, 2007 3:30 pm
by Enrico Maria Giordano
norberto wrote:i can disable right click in memo?
Try

oGet:bRClicked = { || NIL }

EMG