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 » ReadOnly-Cell question. (A bug is not improved.) Collapse All
Subject Author Date
tera tera Apr 20, 2009 - 6:44 PM

Hello.



About ReadOnlyCell.

It is an Edit mode when I choose it.

In addition,

InputComplete is called when I push Return.


http://ifreeta.dee.cc/20090413/SampleMuGrid200904.lzh

Technical Support Apr 24, 2009 - 2:00 PM

This means the grid cell has the __EGCS_READ_ONLY basic cell style. If you want to disable in-place editing at all, you should use the __EGCS_NO_INPLACE_CONTROL basic cell style instead.

Technical Support Apr 22, 2009 - 9:00 AM

Thank you for reporting this issue. We fixed it in the CExtGridInplaceEdit::WindowProc() method:

. . .
            if( message == WM_KEYDOWN )
            {
                        switch( INT(wParam) )
                        {
                        case VK_RETURN:
                                    {
                                                DWORD dwCellStyleEx = m_cell.GetStyleEx();
                                                bool bCtrl = ( (::GetAsyncKeyState(VK_CONTROL)&0x8000) != 0 ) ? true : false;
                                                if(                     (dwCellStyleEx&__EGCS_EX_WRAP_TEXT) == 0L 
                                                            ||           (!bCtrl)
                                                            )
                                                {
                                                            _DoEndEdit( ( ( m_cell.GetStyle() & __EGCS_READ_ONLY ) == 0 ) ? true : false, UINT(wParam) ); // THIS LINE IS CHANGED
                                                            return 0L;
                                                }
                                    }
                                    break;
                        case VK_ESCAPE:
                                    _DoEndEdit( false, UINT(wParam) );
                                    return 0L;
. . .

tera tera Apr 22, 2009 - 7:21 PM

Hello.


Please upload a revision in the Prof-FTP site.

Give my best regards

Technical Support Apr 23, 2009 - 12:41 PM

Uploaded.

tera tera Apr 23, 2009 - 7:02 PM

Hello.


When I click a cell , It is an Read Only Edit mode.   

Is this specifications?  

tera tera Apr 20, 2009 - 6:46 PM

Please revise Prof(2009-04-18).zip