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 » PropertiesGrid and color selection Collapse All
Subject Author Date
George Ross Nov 1, 2005 - 7:10 AM

Hi


 


I noticed in the DRAWCLI demo that the toolbar color selection popup shows a "No Fill" button.


Insted the PropertiesGrid Color Selection Popup does not. Is there any way to add it??


Also when you press the Custom Color the Windows common dialog that appears has not selected the color currently in use.


Also how can i display the Prof-uis color selection dialog instead of the windows common dialog??


 


Thanks in advance


 


George

Technical Support Nov 2, 2005 - 8:55 AM

Thank you for your comments and suggestions.

The common Color Selection dialog is used only when Prof-UIS is statically linked to your application. If Prof-UIS is used as a DLL, it is the Prof-UIS Color Selection dialog that is used. We also fixed the bug when the common Color Selection dialog was not initialized with the current color.

As for the "No Fill" button, it is the "Default Color" button. So far, the CExtGridCellColor class has not supported such a button. But on your request, we have just implemented this feature. We added the m_bEnableButtonDefaultColor and m_clrDefault properties to the CExtGridCellColor class, with which you can specify whether the "Default Color" button should be displayed in the drop-down color menu and when the user clicks this button, the color changes to m_clrDefault.
We also added the m_sBtnTextColorRandom, m_sBtnTextColorCustom and m_sBtnTextColorDefault properties to the CExtGridCellColor class, with which you can change the text on the "Default Color", "Random Color" and "Custom Color ..." buttons in the drop-down color menu.

We sent you the updated files by email. Please note that before updating Prof-UIS, we recommend you download the latest version 2.50, which has just been released.