Feature Summary

The ActiveX control feature allows you to insert interactive controls such as buttons, check boxes, and list boxes into documents to create feature-rich forms and interactive documents.

Feature Description

Feature Dimension Description
Membership Restriction No membership restriction
Version Restriction No version restriction

Operation Steps

Inserting an ActiveX Control

Feature Entry
"Tools" tab → "Developer Tools" button → "Developer Tools" tab → "ActiveX Controls"

  1. Click the "Tools" tab at the top, locate and click the "Developer Tools" button to bring up the "Developer Tools" tab at the top
  2. Click the "Developer Tools" tab
  3. In the "ActiveX Controls" group, select the desired control (e.g., Command Button, Check Box, etc.)
  4. Click in the document to insert the control

image

image

Common ActiveX Control Types

  • Command Button: Triggers an event when clicked
  • Text Box: For entering text content
  • Check Box: For checking options
  • Option Button: For single selection
  • List Box: Displays a list of options
  • Combo Box: Drop-down selection list
  • Toggle Button: Toggles a state on/off
  • Scroll Bar: A numeric adjustment button with a scroll bar
  • Label: A marking label
  • Spin Button: A numeric adjustment button with "▲ ▼" indicators

Setting ActiveX Control Properties

Feature Entry
"Developer Tools" tab → "Control Properties"

  1. Enter Design Mode
  2. Click the ActiveX control
  3. Select the "Control Properties" button
  4. Set the control's various parameters in the properties window

image

Writing Code for Controls

Feature Entry
Double-click the control or select the control and click "Developer Tools" tab → "View Code"

  1. Enter Design Mode
  2. Double-click the ActiveX control
  3. The system will open the WPS Macro Editor
  4. Write code for the control events

image

FAQ

Q1: ActiveX controls are not working?

  • Solution: Ensure that macros are enabled for the document and the target device.

Notes

  1. ActiveX controls require macros to be enabled to function properly
  2. Compatibility of ActiveX controls may vary across different devices
  3. It is recommended to test control functionality before publishing the document