Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intercept navigation and clicks w/ browser control on fi
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Miscellaneous
Thread ID:
01340823
Message ID:
01340847
Views:
7
If I set canel = .t. it prevents navigating folders, but double clicking on a file launches the file using the associated app. Can I intercept that?

>Put your code into BeforeNavigate event/method. It has 2 parameters: Url and Cancel. Set Cancel=.T. to prevent default IE navigation.
>
>>I am trying to create a utility for working with images. I want to be able to display a gallery of images on a form. It would be very nice to use the browser control, but I have to be able to intercept a double click in the active-x control and then perform my own action rather than having it perform the default explorer action (navigate to a folder or open a file).
>>
>>Is this possible?
>>
>>Barring that, I am looking at possibly using a browse with images (which yields a clunky feeling interface). Or I might try to do an owner drawn list of some sort.
>>
>>Suggestions?
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform