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 » resize grid redraw problem (vertical line, minimum extent) Collapse All
Subject Author Date
Andrey Chashkov Jun 1, 2006 - 2:38 AM

I have problems with redraw of grid lines during resizing of grid.
(not sure posted first time)

I have grid screen_01 (http://dev.key-soft.net/4atsoy/profuis/prof_uis_page_01.JPG)
And wnat to resize it to smallest size.
I left click on grid line and move it to the left.
After reaching of ’minimum extent’ vertical grid line didn’t erase
screen_02 (http://dev.key-soft.net/4atsoy/profuis/prof_uis_page_02.JPG)

I think that this is must not happens.
I think that grid lina must stop redraw after reaching of ’minimum extent’.

When I release left button grid line sets in ’minimum extent’ position and all clean up.

screen_03 (http://dev.key-soft.net/4atsoy/profuis/prof_uis_page_03.JPG)


I’ve use Prof-UIS component with 2.53
Here init code:


SiwModifyStyle(
__ESIS_STH_PIXEL
|__ESIS_STV_ITEM
|__EGBS_FIXED_SIZE_ROWS
|__EGBS_SFB_FULL_ROWS
|__EGBS_GRIDLINES
|__EGBS_NO_HIDE_SELECTION
|__EGBS_RESIZING_CELLS_OUTER,
__EGBS_SFB_FULL_COLUMNS,
false
);
BseModifyStyle(__EGWS_BSE_SORT_COLUMNS, __EGWS_BSE_EDIT_DOUBLE_LCLICK | __EGWS_BSE_EDIT_CELLS_INNER );
OuterRowCountTopSet( 1L, true ); // set fixed rows num

caaaiea extent’a aey eiie?aoiiai noieaoa:
// set up columns
int iColumn = 0;
CExtGridCellHeader * pCell =
STATIC_DOWNCAST(CExtGridCellHeader,
m_tablesGrid1.GridCellGetOuterAtTop(iColumn, 0L, RUNTIME_CLASS(CExtGridCellHeader)) );

pCell->ExtentSet( rcGrid.Width() * 0.35, 0 ); // 0 - curr
pCell->ExtentSet( 40, -1 ); // min (!!!)
pCell->ExtentSet( rcGrid.Width() * 0.9, 1 ); // max
pCell->TextSet( "Table" );

Technical Support Jun 1, 2006 - 3:50 AM

Yes, we confirm that there was this bug in Prof-UIS 2.53. It was fixed in Prof-UIS 2.54.