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 General Discussion » CExtPropertyValueCopmound changing "header" cell Collapse All
Subject Author Date
Mateusz Zawilo Jul 28, 2008 - 3:24 AM

Hello!


Is there a possibility to change default behavior of this kind of property value? I’d like to have CExtGridCellUpDown instead of default cell displaying all children valuse separated by " ; ".


I’ve added:


CExtGridCellUpDown * pValue =

        STATIC_DOWNCAST(

            CExtGridCellUpDown,

            ValueActiveGetByRTC( RUNTIME_CLASS( CExtGridCellUpDown) )

            );

    ASSERT_VALID( pValue );


to the contructor of my class derived from CExtPropertyValueCompound, and proper cell is displayed, but when I change it’s value by clicking on up-down button, this value is assigned to first child and the others children are beeing set to 0.

Mateusz Zawilo Jul 28, 2008 - 1:42 PM

That’s bad news. I guess I’ll have to do it manually.


Anyway, thanks for fast replay.

Technical Support Jul 28, 2008 - 12:27 PM

Unfortunately it’s not possible to use an up-down grid cell in compound property values because the text value of compound property value should be combined from text values of child property values. If the compound text is not be parsed successfully, compound property value editing will not work.