U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Scroll bars and grid ?
Scroll bars and grid ? [message #19503] Tue, 09 December 2008 13:48 Go to previous message
Kajko is currently offline  Kajko
Messages: 14
Registered: December 2008
Location: Ireland, Serbia
Promising Member
Simple dialog:

struct dlgOptionsGroupList : TopWindow
{
GridCtrl m_grid;

dlgOptionsGroupList()
{
Title( "Select Groups user belongs" );
SetRect( 0, 0, HorzLayoutZoom(330), VertLayoutZoom(285) );

Add( m_grid.SizePos() );

m_grid.AddHiddenColumn( "ID" );
m_grid.AddColumn("Inc").Option().Fixed(50);
m_grid.AddColumn("Group name").Fixed(200);
m_grid.AddColumn("Group description").Fixed(400);

m_grid.Add( 1, 1, "Group1", "Descript1" );
m_grid.Add( 2, 1, "Group2", "Descript2" );
m_grid.Add( 3, 1, "Group3", "Descript3" );
m_grid.Add( 4, 1, "Group4", "Descript4" );
m_grid.Add( 5, 1, "Group5", "Descript5" );
m_grid.Add( 6, 1, "Group6", "Descript6" );
m_grid.Add( 7, 1, "Group7", "Descript7" );

}
};


GUI_APP_MAIN
{
dlgOptionsGroupList dlg;
dlg.Run(true);
}

there is no ScrollBars, what am i doing wrong ?

Cheers,
Sasa


b78a07c7fb9b68436af9fd23f4e76cc5
 
Read Message
Read Message
Read Message
Previous Topic: large ArrayCtrl
Next Topic: Problem with ColumnWidths in GridCtrl
Goto Forum:
  


Current Time: Sun Apr 26 13:32:55 GMT+2 2026

Total time taken to generate the page: 0.00507 seconds