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 » How to set grid control to only accept single row selection Collapse All
Subject Author Date
Nong Le May 11, 2007 - 6:51 AM

Hi,

I want to disable the multply-rows selection in the grid control. In stead, I want the grid control can only accept single row selection. I tried to use SelectionTypeSet and SiwSetStyle with different combination of flags, but was not successful.

Thank you.

Technical Support May 14, 2007 - 2:41 AM

Here is the typical initialization of the single full row selection for the grid window:

      m_wndGrid.SiwModifyStyle(
                  __ESIS_STH_PIXEL | __ESIS_STV_ITEM
                  | __EGBS_SFB_FULL_ROWS
                  ,
            0,
            false
            );
Please also make sure any other __EGBS_SFB_*** and __EGBS_SFM_*** flags are not applied.