Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Bug report : incorrect display of numbers Collapse All
Subject Author Date
Christophe Guibert Sep 10, 2006 - 10:25 AM

Hello,

Considering the piece of code below, we obtain incorrect display of numbers ending by one or more zeroes in the GridControl
    CExtGridCellNumber * pCellNumber1 =
        STATIC_DOWNCAST(
            CExtGridCellNumber,
            m_wndGrid.GridCellGet( nColNo, 1L )
            );
    pCellNumber1->_VariantAssign( 123000 );

Instead of displaying 123000, the CExtGridCellNumber displays 123.

This can easily be reproduced in the ProfUIS_Controls sample in the CPageGrid::_InitColumnNumber() method.

Best Regards,

Christophe Guibert

Suhai Gyorgy Sep 10, 2006 - 3:20 PM

Check the post "About CExtGridCellNumber" in General Forum. First post at Aug 24, 2006 - 11:22 AM, last post at Aug 28, 2006 - 12:38 PM. 4th post in that thread has the bug fix you need.

Christophe Guibert Sep 12, 2006 - 3:57 PM

Thank you, the fix worked for me.
Best Regards,
Christophe Guibert