OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: jaminth on April 23, 2010, 10:19:08 PM

Title: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: jaminth on April 23, 2010, 10:19:08 PM
What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: Fred Tomke on April 24, 2010, 12:42:39 AM
Hi, as far as I remeber, the horizontal scrollbar will be shown automatically when at least one item cannot be displayed in the listbox because of its string length.

Fred
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: jaminth on April 24, 2010, 01:36:40 AM
the horizontal scrollbar donot shown automatically
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: owenwengerd on April 24, 2010, 10:51:28 PM
I'm not even sure that standard listboxes are able to scroll horizontally, but you can add a feature request.
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: jaminth on April 25, 2010, 01:29:51 AM
thanks a lot.
then...How can I get the "horinzontal scroll bar" force? or automatically?
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: velasquez on April 25, 2010, 03:08:29 AM
It would be good an automatic ToolTip to also show this.
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: jaminth on April 25, 2010, 03:20:15 AM
tooltip?! but if more than one item.....
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: owenwengerd on April 25, 2010, 06:18:41 AM
Quote from: jaminth on April 25, 2010, 01:29:51 AM
then...How can I get the "horinzontal scroll bar" force? or automatically?

I don't think there's any way to scroll a listbox "manually".  You could add a splitter to your form and make the list box resizable relative to the splitter so that users can change the list box size when needed.
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: velasquez on April 26, 2010, 04:17:11 AM
Quote from: jaminth on April 25, 2010, 03:20:15 AM
tooltip?! but if more than one item.....

For the that I know a ListBox up to now it just shows an item for line. 
The posted image shows this. 
Forgive me if I am wrong. 
Long name
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: velasquez on April 26, 2010, 04:35:07 AM
Quote from: velasquez on April 26, 2010, 04:17:11 AM
Quote from: jaminth on April 25, 2010, 03:20:15 AM
tooltip?! but if more than one item.....

For the that I know a ListBox up to now it just shows an item for line. 
The posted image shows this. 
Forgive me if I am wrong. 
Long name

Excuse me I forgot about the option of MultiColumn in ListBox. 
But ToolTip for each item of the line in that the text exceeds your size it seems to be a pattern.
Title: Re: What canI do? if I want the ListBox has "Horizontal Scroll Bar"?
Post by: jaminth on April 26, 2010, 05:42:23 AM
Quote from: owenwengerd on April 24, 2010, 10:51:28 PM
I'm not even sure that standard listboxes are able to scroll horizontally, but you can add a feature request.


but... why not to add  horinzontal scroll bar to the standard  listbox?!