Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Glen Villar
  Where is Glen Villar?
 Palayan City
 Philippines
 Glen Villar
 To: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 Tags
Subject: RE: WebBrowser
Thread ID: 365733 Message ID: 365737 # Views: 110 # Ratings: 1
Version: Visual FoxPro 9 Category: Active X Controls & OLE Automation
Date: Monday, December 31, 2012 3:49:27 AM         
   


> I am using grid to show actual images of IDs for my ID Making app. The problem is the grid's movement is jerky using mouse middle scroll. As well as utilizing scrollbar. so I am looking for an alternative and I saw the HTMLViewer as shown by Cetin Bazos where scrolling is smoother.
>
> Question#1 - is there a method like Double-Click in HTMLViewer which I wanted to use to mark records for batch printing jobs? Although I can circumnavigate it by using other controls like commandbutton for sort of tagging, I would be happier if there is a method we can use to mimic double-click.
>
> Question#2 - How to disable built-in right-click?
>
>
>
> Or is there other controls I can use to display images like this?
>
>
>
>
> http://sandstorm36.blogspot.com
> http://weblogs.foxite.com/sandstorm36

In the HTML level, you can add a parameter in a BODY tag.
BODY oncontextmenu="return false"


loForm = Createobject('test')
loForm.Show(1)
Return
Define Class test As Form
Top = 0
Left = 0
Height = 430
Width = 383
DoCreate = .T.
Caption = "Form1"
Name = "Form1"


Add Object olecontrol1 As OleControl With ;
Top = 12, ;
Left = 0, ;
Height = 36, ;
Width = 384, ;
Anchor = 10, ;
Name = "Olecontrol1", ;
OleClass = "Shell.Explorer.2"


Procedure olecontrol1.Init
TEXT TO lcHTML NoShow



ENDTEXT

Strtofile(m.lcHTML,'c:/scrtext.htm')
This.Navigate('c:/scrtext.htm')
Endproc


Enddefine





(coffee)
It's never too late to be who you might have been.
-George Eliot. English Novelist (1819-1880)


http://thereportersassistant.blogspot.com
http://fruitypc.blogspot.com

ENTIRE THREAD

WebBrowser Posted by Jun Tangunan @ 12/31/2012 3:04:03 AM
RE: WebBrowser Posted by Glen Villar @ 12/31/2012 3:49:27 AM
RE: WebBrowser Posted by Jun Tangunan @ 12/31/2012 3:58:51 AM
RE: WebBrowser Posted by David Mustakim @ 12/31/2012 3:58:39 AM
RE: WebBrowser Posted by Jun Tangunan @ 12/31/2012 4:01:43 AM
RE: WebBrowser Posted by David Mustakim @ 12/31/2012 4:08:50 AM
RE: WebBrowser Posted by Bernard Bout @ 12/31/2012 5:13:03 AM
RE: WebBrowser Posted by Jun Tangunan @ 12/31/2012 5:44:31 AM
RE: WebBrowser Posted by onytoo @ 1/2/2013 3:14:30 AM
RE: WebBrowser Posted by Bernard Bout @ 12/31/2012 4:39:27 AM
RE: WebBrowser Posted by David Mustakim @ 12/31/2012 4:53:17 AM