CATIAApplicationFrame CATComboWeight
Usage: you must use this class as is. You should never derive it.
public class CATComboWeight
Class to create a combo to choose a weight (thickness) of a line.
Role:This class constructs a combo to select a line weigth among 63 values.
These 63 values follow the thicknesses displayed and modifiable in
Tools/Options/Display/Thickness.
When a weight is selected, a CATDlgComboSelectNotification notification is sent,
and you can retrieves the index of the weight type thanks to the
- See also:
- , ,
Constructor and Destructor Index
- o
CATComboWeight(CATDialog*,CATString&,CATDlgStyle,int,unsigned int)
- Constructs a combo to choose a weight of a line.
- o
~CATComboWeight()
-
Method Index
- o
GetSelect()
- Retrieves the index of the weight choosen.
- o
SetSelect(unsigned int)
- Sets the index of the weight.
Constructor and Destructor
o CATComboWeight
public CATComboWeight( | | iParent, |
| const | iDialogObjectName, |
| | iStyle | = NULL, |
| const | iWeightInit | = 1, |
| | iAutoComboAvailable | = 0) |
-
Constructs a combo to choose a weight of a line.
- Parameters:
-
- iParent
- The dialog's parent.
- iDialogObjectName
- The name of the dialog object.
- iStyle
- Internal usage. Set NULL the legal value.
- iWeightInit
- The index of the first weight displayed. The value ranges from 1 to 63, and the
default value is 1 .
- iAutoComboAvailable
- Internal usage, set 0 as the default value.
o ~CATComboWeight
public virtual ~CATComboWeight( | ) |
-
Methods
o GetSelect
-
Retrieves the index of the weight choosen.
- Returns:
- Index of the weight.This value ranges from 1 to 63.
o SetSelect
public SetSelect( | const | iWeight) |
-
Sets the index of the weight.
- Parameters:
-
- iWeight
- Index of the weight.This value ranges from 1 to 63.
This object is included in the file: CATComboWeight.h
If needed, your Imakefile.mk should include the module: CATIAApplicationFrame
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.