A static HTML page for HTML Help
Preview options
Show scrollbars
Show rulers
Zoom:
Data
 
Print
Maximum copies:

About the sample

The Active Label ActiveX can function properly in a HTML Help file. While this is not a typical usage you may find useful sometimes to pack in a HTML help file some pages that use the Active Label ActiveX and some labels prepared for viewing and printing. Even if this sounds as something you'd never want to do the example still illustrates something important - the ability of the newObjects Active Label ActiveX to work with any URL Protocol. In this particular case it loads the label and its resources from the HTML help file (Gallery.chm) which is created using Microsoft HTML Help Workshop. Even if HTML help is out of concern for you it is possible that you would need to use another non-typical URL protocol to load labels. For example you may want to pack some labels in the resources of an Windows application you are developing and show them directly from the resources. In such case you will use the res: protocol for instance - it allows you to fetch a resource from an executable using an URL. Another (more likely situation) is when you want to use some product that implements programming functionality through an URL protocol. One example is our ALP which simulates a WEB server functionality not actually doing anything with the network and executes WEB applications in-place like desktop applications. This is an interesting area in which you can find various products from different vendors - each of them usually offers the opportunity to build something in WEB-like manner but for the client side.

We intentionally left the label shown above in edit mode. In the real world if you really decide to pack something like this in a HTML help it will be most likely for viewing and printing only, but leaving the ActiveX in edit mode shows that everything can be done even in such untypical place like a HTML help file. You will need to initiate navigation through the data entries in order some images to show (the initial label only marks the design). The data entries in this example are cache entries inside the label definition file (see the source code in the example's folder).

newObjects Active Label Examples