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 » CExtGridCellDateTime and time Collapse All
Subject Author Date
Dmitry Kostromin Nov 14, 2005 - 9:33 AM

if I set mode "time" of this type of cell, drop-down button dont’care displayed. And I can choose any date , but i set mode to "only time". It’s a bug?

Technical Support Nov 14, 2005 - 11:29 AM

No, this is not a bug. Just remove the drop-down button:

pCell->ModifyStyle( 0L, __EGCS_BUTTON_DROPDOWN );



Dmitry Kostromin Nov 15, 2005 - 12:52 AM

Ok, then why no spin button of time inplace control or DOWNUP button in the cell? It’s not right that user must only edit it as text.

Technical Support Nov 15, 2005 - 8:43 AM

The CExtGridCellDateTime inplace up-down button is not used in the cell mode because it is not consistent with the cell up-down buttons. So, we decided to hide it. Of course, we could add some property which controls whether the inplace up-down button should be used or not. Please note the user can also use the up/down arrows buttons and even mouse wheel to edit the date and time field and not only by editing the field directly as you said.