Giusy Active Member Licensed User Aug 15, 2018 #1 Hi, I load my html so: B4X: WebView1.LoadUrl("file://" & File.Combine(File.DirAssets, myhtml)) panelWEB.AddView(WebView1, 0, 0, panelWEB.Width, panelWEB.Height) is it possible to prevent the user from copying the document? Thanks
Hi, I load my html so: B4X: WebView1.LoadUrl("file://" & File.Combine(File.DirAssets, myhtml)) panelWEB.AddView(WebView1, 0, 0, panelWEB.Width, panelWEB.Height) is it possible to prevent the user from copying the document? Thanks
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2018 #2 What do you mean with copying the document? How can the user copy it? Upvote 0
Giusy Active Member Licensed User Aug 15, 2018 #3 Hi @Erel when my html is on webview1 if the user "press on" appear the possibility to copy a part or the entire document. Attachments copiare.png 87 KB · Views: 179 Upvote 0
Hi @Erel when my html is on webview1 if the user "press on" appear the possibility to copy a part or the entire document.
D Deleted member 103 Guest Aug 15, 2018 #4 Giusy said: Hi @Erel when my html is on webview1 if the user "press on" appear the possibility to copy a part or the entire document. Click to expand... Then you have to use a label instead of a webview, otherwise you can not ban copying. Upvote 0
Giusy said: Hi @Erel when my html is on webview1 if the user "press on" appear the possibility to copy a part or the entire document. Click to expand... Then you have to use a label instead of a webview, otherwise you can not ban copying.
Giusy Active Member Licensed User Aug 15, 2018 #5 Hi @Filippo I followed your advice and I put the label with bingtofront but the text is still copied Upvote 0
Giusy Active Member Licensed User Aug 15, 2018 #6 Yes @Filippo It work very well, I have test "label long click" and made a toastmessage appear. Thank you very much Upvote 0
Yes @Filippo It work very well, I have test "label long click" and made a toastmessage appear. Thank you very much
Giusy Active Member Licensed User Aug 15, 2018 #7 @Filippo Only on the first page (and don't scroll) On the other page the user can copy Upvote 0
Giusy Active Member Licensed User Aug 16, 2018 #8 @Erel have you an answer for me? Attachments copiare.png 87 KB · Views: 189 Upvote 0
D Deleted member 103 Guest Aug 16, 2018 #9 Giusy said: @Filippo Only on the first page (and don't scroll) On the other page the user can copy Click to expand... Put the label in a scrollview, then it will scroll. Upvote 0
Giusy said: @Filippo Only on the first page (and don't scroll) On the other page the user can copy Click to expand... Put the label in a scrollview, then it will scroll.
D Deleted member 103 Guest Aug 16, 2018 #10 But what does it matter if the user can copy the text? Where is the problem? Upvote 0
Giusy Active Member Licensed User Aug 16, 2018 #11 The problem is not "why do it", but "how to do it" Upvote 0
Giusy Active Member Licensed User Aug 16, 2018 #12 @Filippo I tried to load the label on the webview. The label inhibits the webview. I tried and tried again in every way. I could not do it. I think I will be forced to give up Thanks anyway Upvote 0
@Filippo I tried to load the label on the webview. The label inhibits the webview. I tried and tried again in every way. I could not do it. I think I will be forced to give up Thanks anyway