XLL+ Class Library (6.3)

CXlControlOption Class

Option control supported by CXlDialog.

class CXlControlOption : public CXlControl

Overview

The CXlControlOption class instantiates an option field. The text associated with the option can be read and set by calling GetText() and SetText().

A group of options should be added to the dialog in a sequential group, and the group must be preceded by a CXlControlOptionGroup control.

The checked state of the field is read and set by calling GetSel and SetSel methods of the associated CXlControlOptionGroup control.

If the CXlControlOptionGroup is set to be a trigger (with the SetTrigger method), then the OnOption() event handler will be called whever the selection is changed.

Methods of parent class

Requirements

Header: xldialog.h

See Also

CXlControlOption Methods | xldialog.h | CXlDialog object | CXlControl object | CXlControlOptionGroup object