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 » Scrollbars in CExtReportGrid Collapse All
Subject Author Date
David Skok Sep 21, 2006 - 1:43 PM

The data I fill the grid with always contains more rows than fit on the window.

The very first time I fill the grid with data the scrollbar shows. When I clear the grid then fill it with a new set of data the scrollbar does not show. At that point if I select an item and press up or down arrow the scrollbar appears. How can I fix this?

Suhai Gyorgy Sep 22, 2006 - 2:05 AM

In sample ReportGrid, at the very end of some style-changing command-handler methods, there is the following code-snippet to update window:

	OnSwRecalcLayout( true );
	OnSwUpdateScrollBars();
	OnSwDoRedraw();
This might help for you, too.