Home Search

DriveWorks Pro 22
Frame Control

Send Feedback

Frame Control

The Frame Control will show a box that can display any user form, within the project.

The Frame Control displays a preview of the target form and also gives layout information during design mode.

The information given includes the Name of the target form and its actual Width and Height.

This information is displayed during design mode in the Form Designer along with a background preview of the target form.

Once the user form enters Test Mode the information is hidden and the target form becomes operational.

When viewed in a browser two Frame Controls cannot display the same Form.

The Error Result, of controls being displayed in the Frame Control, are not passed into Frame Controls.

If any controls, displayed in the Frame Control, are in error this is to be indicated we recommend passing the errors into variables and then into the Frame Control or the User Form it exists on.

This control does not have a caption property. Consider adding a label control if a caption is required.

Properties

Behavior

  • Enabled

    Controls whether the control is enabled (if the result is TRUE) or disabled (if the result is anything other than TRUE, e.g. FALSE).

  • Error Result

    Determines whether the value of the control is in error. The result of this rule is a string containing the error message if the value is in error, otherwise a blank string or the number zero.

  • Form Name

    Gets or sets the name of the form to be displayed inline.

  • Horizontal Scroll Visibility

    Controls the visibility behavior of the horizontal scroll bar for this frame control's content.

  • Tab Index

    Configures the position of the control in the form tab order.

  • Vertical Scroll Visibility

    Controls the visibility behavior of the vertical scroll bar for this frame control's content.

  • Visible

    Determines whether the control is visible (TRUE) or hidden (FALSE).

General

  • (Metadata)

    Optional text which can be used to provide information belonging to or about a control. For example, a list of CSS classes which can be parsed and applied to the control using the Integration Theme in DriveWorks Live. This doesn't affect the control's behavior.

  • (Name)

    The name of the control

  • (Tag)

    Optional text which can be used to describe the control, but which doesn't affect the control's behavior.

  • Tooltip Duration

    Controls the duration, in seconds, for which the tooltip will remain visible. Values of 0 and below indicate an infinite duration.

  • Tooltip Text

    Specifies the text to display in a tooltip when hovering over the control.

Layout

  • Height

    Controls the height of the control.

  • Left

    Controls the left position of the control.

  • Top

    Controls the top position of the control.

  • Width

    Controls the width of the control.

DriveWorks Tech Tips Portal

Frame Control

The Frame control displays a box in which any user form, within the project, can be displayed, which can be used to create tabs which display different forms when clicked.

View all Tech Tips

DriveWorks Tech Tips Portal is available to DriveWorks Pro customers with an active subscription and support contract.

Tech Tips provide cut down projects that highlight specific functionality for faster and more effective learning.

To access the portal:

  1. Go to https://my.driveworks.co.uk/learn/tech-tips/
  2. Login with your DriveWorks Pro account credentials, if asked
  3. Click the Visit Tech Tips Portal button for access

The portal provides a search facility, start typing the name of the Tech Tip (as indicated above) to display the Tip you require.

A user form control that displays a box in which a dialog form can be displayed.