FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Disable drag & drop
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Disable drag & drop
Posted: Fri Oct 26, 2007 05:00 PM

HI, i need disable drag & drop in memo fields, to users dont copy information, how to make this??

thanks

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Disable drag & drop
Posted: Sun Oct 28, 2007 11:57 AM

Norberto,

Have you tried to disable the control ?

oMemo:Disable()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Disable drag & drop
Posted: Sun Oct 28, 2007 12:32 PM

Antonio, i want only view, scroll the text , but not copy, copy& past.

thanks

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Disable drag & drop
Posted: Sun Oct 28, 2007 03:03 PM

Try also the READONLY clause.

EMG

Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Disable drag & drop
Posted: Mon Oct 29, 2007 11:29 AM

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

Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Disable drag & drop
Posted: Mon Oct 29, 2007 11:32 AM

i can disable right click in memo?

Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Disable drag & drop
Posted: Mon Oct 29, 2007 11:57 AM

sometime ago, READONLY clause works , disable drag & drop, but dont scrollbar , but in lasts versions of fwh reaonly dont disable drag $ drop.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Disable drag & drop
Posted: Mon Oct 29, 2007 03:30 PM
norberto wrote:i can disable right click in memo?


Try

oGet:bRClicked = { || NIL }

EMG

Continue the discussion