What listbox control/plugin do you use?

I can’t use the in built in listbox control for a number of reasons.

What listbox control/plugin do you use/swear by?

I have created a number of Listbox classes, all of which use the standard Listbox as their Super.

What is it you are looking for?

My latest version allows you to specify column types, their alignment, the formats to use. You can get a copy here:
specialListbox

There is a note within the main class. Read that as it will give you the usage information.

Simon.

The piDog listbox is a good cross-platform solution. Unfortunately, Jim wasn’t really able to fix a problem with the column resizing. This works fine in the example but for me it sometimes works and sometimes it doesn’t.

Therefore, I’ve been helping Thomas Tempelmann a bit with the replacement of the listbox with the CocoaListbox. Obviously, this is Mac only.

[quote=324795:@JulianS]I can’t use the in built in listbox control for a number of reasons.
[/quote]
can you give us some of the reasons ?

<https://xojo.com/issue/43704>
<https://xojo.com/issue/43705>
<https://xojo.com/issue/46694>
<https://xojo.com/issue/46521>
<https://xojo.com/issue/46520>

[quote=324797:@Simon Berridge]I have created a number of Listbox classes, all of which use the standard Listbox as their Super.

What is it you are looking for?

My latest version allows you to specify column types, their alignment, the formats to use. You can get a copy here:
specialListbox

There is a note within the main class. Read that as it will give you the usage information.

Simon.[/quote]

what is need in the sample to test?? it is asking for LocaleInfo.

Where? At compile time?

Can you describe the warning/error you are getting and under what circumstances.

[quote=324811:@Simon Berridge]Where? At compile time?

Can you describe the warning/error you are getting and under what circumstances.[/quote]

just item does not exist at LocaleInfo

[code]// Month Stuff
if InStr(ret, “££££”) > 0 then
ret = Replace(ret, “££££”, LocaleInfo.MonthName(dt.Month))
elseif InStr(ret, “£££”) > 0 then
ret = Replace(ret, “£££”, LocaleInfo.MonthNameAbbrev(dt.Month))
elseif InStr(ret, “££”) > 0 then
ret = Replace(ret, “££”, Format(dt.Month, “00”))
elseif InStr(ret, “£”) > 0 then
ret = Replace(ret, “£”, Str(dt.Month))
end if

// Day String Stuff
if InStr(ret, “%%”) > 0 then
ret = Replace(ret, “%%”, LocaleInfo.DayName(dt.DayOfWeek))
elseif InStr(ret, “%”) > 0 then
ret = Replace(ret, “%”, LocaleInfo.DayNameAbbrev(dt.DayOfWeek))
end if[/code]

I’m looking for at least standard windows functionality out of the box.

I get the following errors when I try your class

Thanks Beatrix. I remember looking that a while back, it looked nice at the outset, but there were too many problems with it for me to consider.

[quote=324816:@JulianS]I’m looking for at least standard windows functionality out of the box.

I get the following errors when I try your class

[/quote]

you need a few control like the utillibs, timecontrol, datecontrol, calendarcontrol and finally picturebutton from Einhugur plugin

[quote=324806:@JulianS]<https://xojo.com/issue/43704>
<https://xojo.com/issue/43705>
<https://xojo.com/issue/46694>
<https://xojo.com/issue/46521>
<https://xojo.com/issue/46520>[/quote]

I use standard xojo listbox, but I embed it in a containercontrol, with two scrollbars I can control myself.
for your keyboards problems, intercept the keydown event of the listbox and do what you want with the key you want.
it’s something quite not “out of ther box” but once it’s working you can use it everywhere
and add new functionnalities when you need them.

simon, found out i need this UtilsLib plugin for the LocaleInfo.

[quote=324819:@Jean-Yves Pochez]I use standard xojo listbox, but I embed it in a containercontrol, with two scrollbars I can control myself.
for your keyboards problems, intercept the keydown event of the listbox and do what you want with the key you want.
it’s something quite not “out of ther box” but once it’s working you can use it everywhere
and add new functionnalities when you need them.[/quote]

Due to some of those cases and the inability to control all aspects of the control, its impossible to implement the features I require, which is why I was asking what other people use. Thanks for the input though.

Richard

Sorry, I forgot that I used the Einhuger plugins, I should have mentioned that.
You can try this:
MagicListbox
if you are not an Einhuger registered user.

[quote=324841:@Simon Berridge]Richard

Sorry, I forgot that I used the Einhuger plugins, I should have mentioned that.
You can try this:
MagicListbox
if you are not an Einhuger registered user.[/quote]

i am registered user of einhugur , so it is ok…just don’t know how to used… any sample??

Try this:
specLB

I have to say there is very little that can not be accomplished with the Xojo listbox with enough creativity and some elbow grease:

This shows what I have been able to do with it:

http://katkosoft.com/Mergeable%20Listbox%20Page/MergeableCellListbox.html

  • Karen

[quote=324860:@Karen Atkocius]I have to say there is very little that can not be accomplished with the Xojo listbox with enough creativity and some elbow grease:

This shows what I have been able to do with it:

http://katkosoft.com/Mergeable%20Listbox%20Page/MergeableCellListbox.html

  • Karen[/quote]

I get the following when opening your demo:

[quote=324849:@Simon Berridge]Try this:
specLB[/quote]

thanks… look really good… i might be able to learn something from there