3D PLM Enterprise Architecture

User Interface - Dialogs

CATDlgFrame

Groups controls
Quick Reference

CATDialog
  |
  +---CATDlgBox
        |
        +---CATDlgFrame

The Frame
ListFrame.jpg (12268 bytes) The frame is the basic container to gather controls, and possibly other containers. These objects should be related to each other, as shown in the figure beside. A frame can be visible or invisible. A visible frame is displayed as a rectangular box, and can have a title, such as the lower frame beside.

Use frames whenever you want to group objects that relate propose to to each other.

[Top]


Styles
Name Description
default The frame is visible and has a title. Its layout is managed using tabulations
CATDlgFraNoTitle The frame has no title
CATDlgFraNoFrame The frame is not visible, but its content remains visible. This hides the title, if any
CATDlgGridLayout The frame layout is managed using a grid

[Top]


Programmer's Guide

The frame is the basic container you can use to gather controls.

[Top]

Constructing a Frame

The different kinds of frames can be constructed:

[Top]

Managing the Layout Using a Grid

This is the recommended way of arranging controls and possibly other containers inside a frame. This is explained in Arranging Dialog Objects Using Grid. Layout using a grid is available only if the CATDlgGridLayout style is used in the frame constructor. 

[Top]

Setting a Title to a Frame

The frame title should be set by the resource file using a key built with the identifier you declare as the second parameter of the frame constructor.

[Top]


History

Version: 1 [Jan 2000] Document created
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.