Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Classes

CExtGridCellNumberBase Constructor.

Overridables

OnQueryDecimalSeparator Called to retrieve the decimal separator. The default implementation of the method returns the decimal separator specified in the current user's locale settings.
OnQueryGrouping Called to retrieve information about the size of each group of digits to the left of the decimal point. The size of each group is set with an integer followed by a semicolon. For example, 123, 4, 567 can be represented by 3;1;3. If the last value is zero, the preceding value is repeated. For example, thousands can be grouped with 3;0. The default implementation of the method returns the information specified in the current user's locale settings.
OnQueryLeadingZero Called to retrieve information about if leading zeros are displayed. The method returns 1 if the leading zeros are displayed or 0 otherwise. The default implementation of the method returns the information specified in the current user's locale settings.
OnQueryNumberText Called to convert a VARIANT value to its string representation.
OnQueryNegativeOrder Returns an integer that specifies how negative numeric values are formatted. The default implementation of the method returns the information specified in the current user's locale settings.
OnQueryNumDigits Called to retrieve the number of fractional digits. The default implementation of the method returns the number of fractional digits specified in the current user's locale settings.
OnQueryThousandSeparator Called to retrieve the thousand separator between groups of digits to the left of the decimal point. The default implementation of the method returns the thousand separator specified in the current user's locale settings.
OnTextGetPrepareVariant Allows you to modify a VARIANT value before it is converted to the text (with OnQueryNumberText() method).
OnValidateNumberText Called to validate a string before it is converted to the numeric value. This method is called when the user completed finished editing the cell and the result should be validated.

See Also

CExtGridCellNumberBase Overview | Hierarchy Chart