Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EVENTHANDLER - what interface for this object
Message
De
04/05/2007 19:53:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/05/2007 13:56:24
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01222532
Message ID:
01222680
Vues:
8
Since you CCed, I would repeat you don't need eventhandler for this one. Check Re: Using HTML code in Visual Fox Pro Thread #1050590 Message #1050602 for a sample. You could directly code in form as shown there or subclass shell.explorer for common code.
Cetin

>Thanks Olaf,
>
>Yes this uses some code "borrowed" from Calvin. I have played around a bit and made some enhancements of which will this is one. I have found that I can use the event code in the object itself without binding with eventhandler. In this particular case I just needed to update the navigation field with the current url. My class "saves" the last url and upon restart returns to it.
>
>Glenn
>
>>>I have the following class:
>>>
>>>Define Class cweb As OleControl
>>>	OleClass="shell.explorer.2"
>>>
>>>	Procedure Refresh
>>>	NODEFAULT
>>>ENDDEFINE
>>>
>>>
>>>How do I find and define the interface for this OleControl so that I may bind to it with event handler.
>>>
>>>Thanks
>>>
>>>Glenn
>>
>>You got that from Calvin Hsia, don't you? That's the webbrowser control. You should be able to use the IWebBrowser2 Interface. Perhaps you rather want to bind to something inside the webpage? Then maybe take a look at my tag cloud example at tek tips: http://www.tek-tips.com/viewthread.cfm?qid=1359037
>>
>>In the last entry I use an interface of HTMLElementEvents to handle mouseover and out of a tags.
>>
>>Bye, Olaf.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform