PlanetSquires Forums

Support Forums => General Board => Topic started by: Martin Francom on November 01, 2011, 10:50:32 PM

Title: Question about Jose' Carousel example
Post by: Martin Francom on November 01, 2011, 10:50:32 PM
Jose'
   I am trying to understand the Carousel example. 
How do I change the icons ?   
   I can't seem to find where they are defined in the code.

Can more than one OCX carousel control be placed on a form?

I would like to use the Carousel idea to create form with several
carousel controls with each one having multiple icons from which
various programs can be launched.  I would have all my desktop
shortcuts sorted and loaded on to the various carousels.   
Title: Re: Question about Jose' Carousel example
Post by: José Roca on November 02, 2011, 04:02:42 AM
The code is an example of how to host the WebBrowser control, load an html that uses javascript for the menu, and connect with the events fired both with the WebBrowser Control and the loaded html page. The images can be changed modifying the html pages.

Quote
Can more than one OCX carousel control be placed on a form?

What you place in the form is not a carousel control, but the WebBrowser control. You can place as many as you wish, but each one will need to have its own classes for events and you will have to create additional html pages.