Skip to main content

Problem:

This is a sample page whichs shows how to: add items to the ActiveX list box, add items to the ActiveX selection box, add tabs to the ActiveX tab strip control, and show/hide controls when a tab change is made on the tab strip control

Resolution:

INTRODUCTION

==========

This HTML form illustrates the use of JavaScript on some ActiveX controls.

SOURCE FILES:

==========

Program Files         Description

-------------------     -----------------------------------------------------------

JSandActX.APP      NetExpress project file

Form Files:

-------------------     -----------------------------------------------------------

HTMLPage.htm       HTML form with embedded JavaScript and ActiveX controls

OPERATION:

========

This project does not contain a CGI since the process is done by an embedded JavaScript within the HTML form. This sample shows how to:

- add items to the ActiveX list box

- add items to the ActiveX selection box

- add tabs to the ActiveX tab strip control

- show/hide controls when a tab change is made on the tab strip control

Consider the following steps to study this project:

1. Load JSandActX.APP into Net Express

2. Open HTMLPage.HTM into Form Designer

3. Click Page > Preview

4. Click on each Input button to accomplish what has stated earlier

NOTE:

====

The JavaScript is associated with the object where an action should take place. To review the JavaScript of an object, just right-click on the object, select Events, click on the event that is checked from the events list to see the script or JavaScript.

==========================================================

Keywords: demonstration, sample, example, demo, web programming, actxsamp.zip

demo.ex

demo.ne

demo.se

Attachments:

actxsamp.zip

Old KB# 4195