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 » How do I enable single row selection on a grid? Collapse All
Subject Author Date
Scott Moore Jan 10, 2007 - 3:13 PM

This must be a simple problem, but for the life of me I can’t find the correct combination of styles. No matter what styles I select, I can always select multiple rows by holding down the Ctrl key. My current style is set like this:

    m_grid.SiwModifyStyle(__EGBS_SFB_FULL_ROWS, __EGBS_SFB_MASK);

The help docs say to enable multiple rows, I would need to include the __EGBS_SFM_ROWS flag. But I’m not including this and I can still select more than 1 row.

What am I doing wrong? This is with 2.62

Scott Moore Jan 10, 2007 - 3:30 PM

Nevermind, I finally found the method MultiAreaSelectionSet(false);