Using Frames

In this section:

How to:

Reference:

The Frame control enables you to launch a Web link in a frame on your form instead of a separate window.


Top of page

x
Procedure: How to Launch a Web Link in a Frame
  1. Select the Frame control in the Controls palette.
  2. Draw a rectangle on your form approximately where you want your frame to be, at approximately the size you want.
  3. (Optional, but recommended.) Give your frame a more meaningful name than Framen.
  4. If necessary, readjust the size and placement of your frame.
  5. Double-click the frame, or select the Source property to open the URL Link dialog box.
  6. If you have an existing Web link that you would like to use, select its name from the Use the URL link from this resource list.

    Otherwise, click New to create a new Web link. For more information, see How to Create a Web Link.

  7. Click OK.

Top of page

x
Reference: URL Link Dialog Box

You use this dialog box to specify the URL link for a frame on your form.

URL link dialog box

This dialog box has the following fields:

Use the URL link from this resource

Enables you to select one of the Web links you have already defined in your project.

New...

Opens the Link Editor dialog box, where you can define a new Web link.

Edit...

If you select a Web link from the list above, clicking here opens the Link Editor dialog box, where you can edit an existing Web link in your project.


Top of page

x
Changing Frame Properties

When you select your frame, you will see a list of frame properties in the property sheet. Changing these properties will change what your frame looks like and how it behaves at run time.

Many of the styling properties can also be changed using a Cascading Style Sheet. For more information on Cascading Style Sheets, see Using Cascading Style Sheets.

Do you want...

Then use...

to change the contents of the frame?

the Source property to open the URL Link Dialog Box dialog box.

to change the name of the frame that identifies it to the procedure?

the (Name) Property property.

to change the size or location of the frame?

the Bottom Property, Left Property, Right Property, and Top Property properties.

a style sheet.

(You can also move or resize the frame directly in the form.)

to add scroll bars to the frame?

Scrolling is automatically provided by the browser at runtime if the content exceeds the size of the frame control.

to add a border to the frame?

the Border Property property.

a style sheet.

to make the frame invisible?

the Visible Property property.

a style sheet.

to display a tool tip when the cursor is on top of the frame?

the ToolTipText Property property.

to move the frame to another layer?

the Layer property. For more information, see Layering Controls.

to control the display order of the frame when more than one control is overlaid?

the ZIndex Property.

Note: IE7 or equivalent required.


WebFOCUS