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:
01340884
Views:
9
That would be good, although I am trying to have a gallery of images embedded in my main form.

Here is the objective:

We sell a product "001" which is a combination of "A", "B", and "C". A, B, and C each have images which we combine together to make an image for product 001. We then generate that image in multiple sizes for use in different places (our website, shopping carts, ebay galleries, etc.).

We have hundreds of products we sell which utilize different combinations of A, B, C, D, ... etc.

Frequently, the specifics of A, B, or C may change. We need to be able to change the "sub image" and propogate that to the multiple product images for each item that includes that sub-product.

I am creating an application to do this in VFP. Using the vfpx gdi+ control I can build all the images I need by defining the template for each product. When a sub product changes, I just change the image for that sub-product. My application has an image canvas, and the ability to add sub-images to the canvas and manipulate them. I want to be able to display a gallery of sub-product images on the form. That will make it much faster to add images than if I have to open a file selection dialog to place images.

Currently I am working on using a grid with pictures, but I would prefer explorer, particularly if I can control the view options for the folder.



>Hi Paul,
>
>You can use GETFILE() dialog and make it show your images in thumbnail view. There was a thread a while back on this topic, do you want a link?
>
>>I am trying to find a way to display a list of image files in a folder and allow the user select a file. I can use the browser control and navigate to "c:\images" for example, and see the explorer view of the folder. I want the user to be able to double click on a file and have my app do something based on that file selection rather than the OS.
>>
>>It's like having the functionality of a getfile() dialog embedded in my form.
>>
>>>I'm not sure I understand what you're doing. What are you displaying in the Web Browser control?
>>>
>>>>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.
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform