Properties for the Web ActiveX control

You can set properties of the Web ActiveX in Param elements on the Web page.

Table 7-5: Properties of the DataWindow Web ActiveX

Transaction property

Datatype

Description

DataWindowObject

Long

The name of the DataWindow object to be displayed in the control. The DataWindow object must be in the file specified in the SourceFileName property.

or

The URL for the PSR to be displayed in the Web ActiveX.

dbParm

String

DBMS-specific parameters. The parameters you include depend on the database driver being used. For example, to use the Sybase JDBC driver (com.sybase.jdbc3.jdbc.SybDriver), the parameters are the driver name and the URL of the server.

For more information, see the DataWindow Programmers Guide.

HScrollBar

Boolean

Specifies whether a horizontal scroll bar displays in the control when all the data cannot be displayed at one time. Values are:

  • True – Horizontal scroll bar is displayed.

  • False – Horizontal scroll bar is not displayed.

HSplitScroll

Boolean

Specifies whether the split bar displays in the control. Values are:

  • True – Split bar is displayed.

  • False – Split bar is not displayed.

LiveScroll

Boolean

Scrolls the rows in the DataWindow control while the user is moving the scroll box.

LogID

String

The name or ID of the user who will log on to the server.

LogPass

String

The password that will be used to log on to the server.

SourceFileName

Long

The URL or file path for the PowerBuilder library that contains the DataWindow object specified in the DataWindowObject property. The library can be a PBL or a PBD. (The value should be an empty string for a PSR file.)

The URL can be an absolute URL or relative to the directory of the HTML document. You can use the BASE HTML element to specify a different base directory.

SuppressEvents

Boolean

Whether the control will trigger events in response to user actions, such as clicks, and internal actions, such as retrieving data.

VScrollBar

Boolean

Specifies whether a vertical scroll bar displays in the control when not all the data can be displayed at one time. Values are:

  • True – Vertical scroll bar is displayed.

  • False – Vertical scroll bar is not displayed.