All Frameworks Class Hierarchy This Framework Indexes
Usage: you must use this class as is. You should never derive it.
public class CATDlgEditor
Class to enable characters to be entered.
Role: Enables characters to be entered.
It allows the end user to enter a text, numerics, or both,
or modify existing ones. The text can extend on one or several
lines. Scrollbars can be added if the text is longer than the
editor display area. Use editor whenever you propose to the
end user to edit or modify a text or unpredictable numerical
values.
Usually you will instanciate this class, however, you may
derive it for example if you want to specialize it using
the SetColor method.
| public CATDlgEditor( | iParent, | ||
| const | iDialogObjectName, | ||
| iStyle | =NULL) |
For single line editors only, you can use also: CATDlgEdtPassword if the text is hidden, or CATDlgEdtInteger if the text must be an integer, or CATDlgEdtFloat if the text must be a float, or CATDlgEdtAlphabetical if the text must contain only alphabetical characters, or CATDlgEdtNumerical if the text must contain only numerical characters, or CATDlgEdtAlphanumerical if the must contain only alphanumerical characters, or CATDlgEdtDouble if the text must be a double, expressed in the chosen unit.
For multiple line editors only, you can use also: CATDlgEdtWrap if the text automatically skips to the next line, or CATDlgEdtNoScrollBar if the editor has no scrollbars, or CATDlgEdtNoCR if the text doesn' include carriage return characters.
| public ClearLine( | iLineIndex | =-1 ) |
| public GetEditFocusInNotification( | ) |
| public GetEditFocusOutNotification( | ) |
| public GetEditModifyExtNotification( | ) |
| public GetEditModifyNotification( | ) |
| public GetFirstColumn( | ) |
| public GetFirstLine( | ) |
| public GetFloatValue( | ) |
| public GetIntegerValue( | ) |
| public GetLineCount( | ) |
| public GetLine( | oLine, | ||
| iIndex | =-1 ) |
| public GetMaxCharacterWidth( | ) |
| public GetSelectionChangeNotification( | ) |
| public GetSelection( | iStart, | |
| iStop) |
| public GetText( | ) |
| public GetValue( | ) |
| public GetVisibleTextHeight( | ) |
| public GetVisibleTextWidth( | ) |
| public SetFirstColumn( | iFirstVisibleColumn) |
| public SetFirstLine( | iFirstVisibleLine) |
| public SetFloatValue( | iFloatValue, | ||
| iSendingNotificationFlag | =1 ) |
| public SetInputCallback( | iCheckingFunction, | |
| iUsefulData) |
| public SetIntegerValue( | iIntegerValue, | ||
| iSendingNotificationFlag | =1 ) |
| public SetLine( | const | iLine, | |
| iIndex | =-1 ) |
| public SetMaxCharacterWidth( | iMaximumCharacterCount) |
| public SetSelection( | iFirstCharacterIndex, | |
| iLastCharacterIndex) |
| public SetText( | const | iText, | |
| iSendingNotificationFlag | =0 ) |
| public SetValue( | iDoubleValue, | ||
| iSendingNotificationFlag | =1 ) |
| public SetVerifyCallback( | iCheckingFunction, | |
| iUsefulData) |
| public SetVisibleTextHeight( | iRowCount) |
| public SetVisibleTextWidth( | iColumnCount) |
Copyright © 2003, Dassault Systèmes. All rights reserved.