CATIAApplicationFrame CATComboSymbol
Usage: you must use this class as is. You should never derive it.
public class CATComboSymbol
Class to create a combo to choose a symbol point.
Role:This class constructs a combo to select a symbol among 9 types:
- Cross
- Plus
- Circle
- Double Circle
- Middle Dot
- Full Square
- Star
- Dot
- Small Dot
When a symbol is selected, a CATDlgComboSelectNotification notification is sent,
and you can retrieves the index of the symbol thanks to the
- See also:
- , ,
Constructor and Destructor Index
- o
CATComboSymbol(CATDialog*,CATString&,CATDlgStyle,unsigned,unsigned int)
- Constructs a combo to choose a symbol point.
- o
~CATComboSymbol()
-
Method Index
- o
GetSelect()
- Retrieves the symbol's index choosen.
- o
SetSelect(unsigned int)
- Sets the index's symbol.
Constructor and Destructor
o CATComboSymbol
public CATComboSymbol( | | iParent, |
| const | iDialogObjectName, |
| | iStyle | = NULL, |
| const | iSymbolInit | = 1, |
| | iAutoComboAvailable | = 0) |
-
Constructs a combo to choose a symbol point.
- Parameters:
-
- iParent
- The dialog's parent.
- iDialogObjectName
- The name of the dialog object.
- iStyle
- Internal usage. Set NULL the legal value.
- iSymbolInit
- The index of the first symbol displayed. The value ranges from 1 to 9, and the
default value is 1 (a cross).
- iAutoComboAvailable
- Internal usage, set 0 as the default value.
o ~CATComboSymbol
public virtual ~CATComboSymbol( | ) |
-
Methods
o GetSelect
-
Retrieves the symbol's index choosen.
Role: When a symbol is choosen , a
CATDlgComboSelectNotification notification is sent, and you
can retrieve the selected color using this method.
- Returns:
- Index of the symbol.This value ranges from 1 to 9.
o SetSelect
public SetSelect( | const | iSymbol) |
-
Sets the index's symbol.
- Parameters:
-
- iSymbol
- Index of the symbol.This value ranges from 1 to 9.
This object is included in the file: CATComboSymbol.h
If needed, your Imakefile.mk should include the module: CATIAApplicationFrame
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.