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 » PropertyGrid modified value question Collapse All
Subject Author Date
Christan HIRIGOYEN Dec 19, 2007 - 6:41 AM

I use PropertyGrid Control. My implementation is almost similar with your sample PropertyGrid with the stars.
- When I modify the value, the control does not display the property in bold (I checked that m_bMakeBoldModifiedValues and m_bMakeBoldModifiedNames are true done in OnInitDialog)
- When I modify the value of a multiselection, the control does not display the entered value, it stay blank.
In both cases my object is well updated.

What is wrong?
What I miss to do?

I would really appreciate your help.

Thanks in advance.

Technical Support Dec 21, 2007 - 4:54 AM

When the print preview is displayed over the property grid control, it keeps the cached set of EMF files which contains printed/previewed page images. These page images were created at a certain point of time. Then you changed property values. In this case the property grid control does not re-create print preview page images. You should close the preview and open it again to see the latest results. Is that the problem you want to tell us about?

Christan HIRIGOYEN Dec 20, 2007 - 8:39 AM

I use CExtGridCellString and CExtGridCellColor.

I can’t give you a test program. My program is too huge.

Do you have advises for me? to check in my program.
An other information.
When I modify a value. The control displays the good value (not in bold) but the print preview, displays the old value.
Do I missed a call to synchronize or update the control?
It seems that the control is not up to date.

Thanks in advance.

Technical Support Dec 20, 2007 - 5:56 AM

We need some more info about the problem. Do you use some custom grid cell classes in the property grid control? Is it possible to get a test project which demonstrates the problem?