Disable drag & drop

Disable drag & drop

Postby norberto » Fri Oct 26, 2007 5:00 pm

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

thanks
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby Antonio Linares » Sun Oct 28, 2007 11:57 am

Norberto,

Have you tried to disable the control ?

oMemo:Disable()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby norberto » Sun Oct 28, 2007 12:32 pm

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

thanks
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby Enrico Maria Giordano » Sun Oct 28, 2007 3:03 pm

Try also the READONLY clause.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby norberto » 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
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby norberto » Mon Oct 29, 2007 11:32 am

i can disable right click in memo?
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby norberto » 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.
norberto
 
Posts: 566
Joined: Thu Aug 30, 2007 3:40 pm
Location: BR

Postby Enrico Maria Giordano » Mon Oct 29, 2007 3:30 pm

norberto wrote:i can disable right click in memo?


Try

oGet:bRClicked = { || NIL }

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Willi Quintana and 116 guests