Dialog CATDlgLabel

Usage: you must use this class as is. You should never derive it.


public class CATDlgLabel

Class to add an information text to a control.
Role: Adds an information text to a control. The label is dedicated to add an information text or an image to controls and to other objects as well. The text can be parameterized with data coming from the application. Some controls, such as a push button, a radio button, or a check button, and frames, have a text companion you can set using its Title resource. On the opposite, a combo or a spinner doesn't display its title. You can then use labels to inform the end user of what the combo or spinner is intended to do, or which variable it can set. The labels in the figure beside are associted with a combo (Form Name), and editors. The other texts are either frame titles, push button titles, or a bitmap combo line mixing a bitmap and the text "User".

Use labels whenever you want to qualify a control or add information to explain its purpose.


Constructor and Destructor Index


o CATDlgLabel(CATDialog*,CATString&,CATDlgStyle)
Constructs a label.

Constructor and Destructor


o CATDlgLabel
public CATDlgLabel( iParent,
const iDialogObjectName,
iStyle=NULL)
Constructs a label.
Role: Constructs a label.
Parameters:
iParent
The parent of the label.
iDialogObjectName
The dialog object name.
iStyle
The application window styles. You can cumulate several styles using a logical or.
Legal values:
  • CATDlgLabLeft if the label text is left justified
  • CATDlgLabRight if the label text is right justified
  • CATDlgLabCenter if the label text is centered
  • CATDlgLabFramed if the label text is framed

This object is included in the file: CATDlgLabel.h
If needed, your Imakefile.mk should include the module: DI0PANV2

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.