<< Return to Main Index

< Return to Class Index

class CGXCurrencyEdit: public CGXBCurrencyEdit, public CGXStatic

The CGXCurrencyEdit class implements a currency control cell type which can be used to display and enter currency values. CGXCurrencyEdit derives drom CGXBCurrencyEdit (CGXB refers to CGX Base). CGXBCurrencyEdit is largely based on the currency control that ships with Objective Toolkit. 

Style attributes which specify the appearance of the cell are:

Use the GX_IDS_CTRL_CURRENCY id for applying a currency control to a cell.

Example:

   SetStyleRange(CGXRange(1,1), CGXStyle().SetControl(GX_IDS_CTRL_CURRENCY));

#include <gxall.h>

See Also

CGXGridCore::RegisterControl CGXStyle::SetControl CGXStyle CGXCurrencyEdit::AddUserAttributes

CGXCurrencyEdit

Class Members