We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GridListControl - Display Horizantal scrollbar

Thread ID:

Created:

Updated:

Platform:

Replies:

40494 Feb 3,2006 01:17 PM Feb 6,2006 08:36 AM Windows Forms 4
loading
Tags: GridControl
Badri Rajani Kanth
Asked On February 3, 2006 01:17 PM

Hi, One quick question. How can I automatically display horizanta scrollbar in GridListControl? For example, in the sample Plz check in ..\Syncfusion\Essential Studio\3.2.1.0\Windows\Grid.Windows\Samples\Quick Start\GridListControlSample, change widthListBox = 100 and see to replicate..I have tried with few settings as well. Rgds Rajani Kanth

stanleyj [Syncfusion]
Replied On February 4, 2006 02:13 AM

Hi Rajani, The horizontal scroll bars are automatically displayed, if widthListBox = 90 is set, that would make you clear. The reason is that the scrollbars are displayed as soon as the last column starts hiding when the last column is filling the rest of the client area. So if this line is commented out. ListBox1.FillLastColumn = true; The scroll bar will be displayed as soon as the last column starts resizing. However if you wish to see scroll bars always, you may use ListBox1.Grid.HScrollBehavior = GridScrollbarMode.Enabled; Best regards, Stanley

Badri Rajani Kanth
Replied On February 6, 2006 05:21 AM

Hi Stanely, FillColumn is working only when ListBox1.MultiColumn = true; changing ListBox1.MultiColumn = false; again does not display scrollbar. I am using it as a single column list box only. Rgds Rajani Kanth >Hi Rajani, > >The horizontal scroll bars are automatically displayed, if widthListBox = 90 is set, that would make you clear. The reason is that the scrollbars are displayed as soon as the last column starts hiding when the last column is filling the rest of the client area. > >So if this line is commented out. > >ListBox1.FillLastColumn = true; > >The scroll bar will be displayed as soon as the last column starts resizing. > > >However if you wish to see scroll bars always, you may use > >ListBox1.Grid.HScrollBehavior = GridScrollbarMode.Enabled; > > >Best regards, >Stanley

stanleyj [Syncfusion]
Replied On February 6, 2006 06:00 AM

Hi Rajani, Try this: ListBox1.Grid.HScrollPixel = true; Regards, Stanley

Badri Rajani Kanth
Replied On February 6, 2006 08:36 AM

Thanz Great! Thank you Stanely.. Rgds Rajani Kanth >Hi Rajani, > >Try this: > >ListBox1.Grid.HScrollPixel = true; > >Regards, >Stanley

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;