vcl-cxlookandfeelpainters-66bcf7dc.md
Enumerates calculator buttons types.
TcxCalcButtonKind = (
cbBack,
cbCancel,
cbClear,
cbMC,
cbMR,
cbMS,
cbMP,
cbNum0,
cbNum1,
cbNum2,
cbNum3,
cbNum4,
cbNum5,
cbNum6,
cbNum7,
cbNum8,
cbNum9,
cbSign,
cbDecimal,
cbDiv,
cbMul,
cbSub,
cbAdd,
cbSqrt,
cbPercent,
cbRev,
cbEqual,
cbNone
);
| Name |
|---|
cbBack |
cbCancel |
cbClear |
cbMC |
cbMR |
cbMS |
cbMP |
cbNum0 |
cbNum1 |
cbNum2 |
cbNum3 |
cbNum4 |
cbNum5 |
cbNum6 |
cbNum7 |
cbNum8 |
cbNum9 |
cbSign |
cbDecimal |
cbDiv |
cbMul |
cbSub |
cbAdd |
cbSqrt |
cbPercent |
cbRev |
cbEqual |
cbNone |
TcxCalcButtonKind values are used in TcxCustomCalculator methods and events to identify calculator buttons.
The following table describes the button types.
| Value | Description | Value | Description |
|---|---|---|---|
| cbBack | The ‘Back’ button. | cbNum7 | The ‘7’ button. |
| cbCancel | The ‘CE’ button. | cbNum8 | The ‘8’ button. |
| cbClear | The ‘C’ button. | cbNum9 | The ‘9’ button. |
| cbMC | The ‘MC’ button. | cbSign | The ‘+/-‘ button. |
| cbMR | The ‘MR’ button. | cbDecimal | The ‘,’ button. |
| cbMS | The ‘MS’ button. | cbDiv | The ‘/‘ button. |
| cbMP | The ‘M+’ button. | cbMul | The ‘*’ button. |
| cbNum0 | The ‘0’ button. | cbSub | The ‘-‘ button. |
| cbNum1 | The ‘1’ button. | cbAdd | The ‘+’ button. |
| cbNum2 | The ‘2’ button. | cbSqrt | The ‘sqrt’ button. |
| cbNum3 | The ‘3’ button. | cbPercent | The ‘%’ button. |
| cbNum4 | The ‘4’ button. | cbRev | The ‘1/x’ button. |
| cbNum5 | The ‘5’ button. | cbEqual | The ‘=’ button. |
| cbNum6 | The ‘6’ button. | cbNone | Does not identify any of calculator buttons. |
See Also