Re: [Lazarus] How to create a listbox that can be shifted

2013-04-25 Thread José Mejuto
El 25/04/2013 17:01, Jürgen Hestermann escribió: I think I played already with this but nothing changed (I set TListBox.ScrollWidth to arbitrary high values). And even if it works, would I have to scan all string widths after each change to find the widest string and then set TListBox.ScrollWidt

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-25 Thread Jürgen Hestermann
Am 2013-04-25 09:40, schrieb zeljko: > On 04/25/2013 09:34 AM, Sven Barth wrote: >> So one might need to adjust the TListBox implementation to support this >> as well (and I simply assume for now that the other widgetsets also >> support a horizontal scrollbar in a list box...). > Afair in lazarus

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-25 Thread José Mejuto
El 25/04/2013 7:10, Jürgen Hestermann escribió: As others told me these are all limitations of the underlying widgetset (in this case Win32 GUI) so it cannot be fixed within Lazarus. TMemo solves my problem for now (thanks again to Howard for the tip). And another tip was TScrollBox which I did

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-25 Thread Sven Barth
Am 25.04.2013 09:40, schrieb zeljko: On 04/25/2013 09:34 AM, Sven Barth wrote: Am 25.04.2013 07:10, schrieb Jürgen Hestermann: Am 2013-04-24 20:25, schrieb Jesus Reyes: Still I am wondering why nobody seems to miss a horizontal shift for TListBox and TStringGrid (especially because a slider

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-25 Thread zeljko
On 04/25/2013 09:34 AM, Sven Barth wrote: Am 25.04.2013 07:10, schrieb Jürgen Hestermann: Am 2013-04-24 20:25, schrieb Jesus Reyes: Still I am wondering why nobody seems to miss a horizontal shift for TListBox and TStringGrid (especially because a slider is shown for TStringGrid but does not

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-25 Thread Sven Barth
Am 25.04.2013 07:10, schrieb Jürgen Hestermann: Am 2013-04-24 20:25, schrieb Jesus Reyes: Still I am wondering why nobody seems to miss a horizontal shift for TListBox and TStringGrid (especially because a slider is shown for TStringGrid but does not work). Are these bugs which nobody discove

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-24 Thread Jürgen Hestermann
Am 2013-04-24 20:25, schrieb Jesus Reyes: Still I am wondering why nobody seems to miss a horizontal shift for TListBox and TStringGrid (especially because a slider is shown for TStringGrid but does not work). Are these bugs which nobody discovered since years? I can't believe it. Do you kno

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-24 Thread Jesus Reyes
--- El mié 24-abr-13, Jürgen Hestermann escribió: > Still I am wondering why nobody seems to miss a horizontal > shift for TListBox and TStringGrid (especially because a > slider is shown for TStringGrid but does not work). Are > these bugs which nobody discovered since years? I can't > believe

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-24 Thread Hans-Peter Diettrich
Jürgen Hestermann schrieb: Am 2013-04-23 19:11, schrieb Howard Page-Clark: On 23/04/13 5:20, Jürgen Hestermann wrote: I am stuck again. How can I make long (wide) text visible in a restricted window? In a proper design it should be a matter of enabling the scrollbars of the component, and

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-24 Thread Howard Page-Clark
On 24/04/13 6:19, Jürgen Hestermann wrote: Am 2013-04-23 19:11, schrieb Howard Page-Clark: On 23/04/13 5:20, Jürgen Hestermann wrote: I am stuck again. How can I make long (wide) text visible in a restricted window? Use a TMemo, and set its ScrollBars property to ssAutoBoth? Still I am wo

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-23 Thread Jürgen Hestermann
Am 2013-04-23 19:11, schrieb Howard Page-Clark: On 23/04/13 5:20, Jürgen Hestermann wrote: I am stuck again. How can I make long (wide) text visible in a restricted window? Use a TMemo, and set its ScrollBars property to ssAutoBoth? Okay, yet another approach. I will try it. Thanks. Though

Re: [Lazarus] How to create a listbox that can be shifted

2013-04-23 Thread Howard Page-Clark
On 23/04/13 5:20, Jürgen Hestermann wrote: I am stuck again. How can I make long (wide) text visible in a restricted window? Use a TMemo, and set its ScrollBars property to ssAutoBoth? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.or

[Lazarus] How to create a listbox that can be shifted

2013-04-23 Thread Jürgen Hestermann
In my program (for Windows) I display log information in a TListBox. But that has some severe drawbacks/bugs: 1.) If one of the displayed strings exceeds the right margin there is no horizontal slider to shift the text to the right so the user can see the invisible text. 2.) If the number of r