XLL+ Class Library (6.3)

CXlControlFormulaEdit::CXlControlFormulaEdit

Constructs a CXlControlFormulaEdit object, without displaying it

CXlControlFormulaEdit(
   UINT id = -1,
   const char* pszFormula = 0,
   BOOL bA1 = TRUE,
   USHORT x = 0,
   USHORT y = 0,
   USHORT cx = 0,
   USHORT cy = 0
);

Parameters

id

Numeric identifier of the control, which can be used to refer to it in event handlers. The ID does not need to be unique.

pszFormula

Pointer to a null-terminated string containing a formula, which will be used as the initial value of the field. If the pointer is 0, then the field will initially be blank.

bA1

Flag denoting whether the formula is in A1-style or R1C1 style. TRUE indicates that all references are in A1 form; FALSE that they are in R1C1 form.

x

Coordinate of left side of control. Ignored if 0.

y

Coordinate of top of control. Ignored if 0.

cx

Width of control. Ignored if 0.

cy

Height of control. Ignored if 0.

Remarks

This constructor creates a formula edit field.

Methods of parent class

Requirements

Header: xldialog.h

See Also

CXlControlFormulaEdit Class | CXlControlFormulaEdit Methods