# WebListBox ColumnSelected

**URL:** <https://forum.xojo.com/t/weblistbox-columnselected/80411>\
**Category:** Web\
**Created:** [May 22, 2024, 11:45pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411 "2024-05-22T23:45:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Seyfarth](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/d26b3c/32.png) [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Post date:** [May 22, 2024, 11:45pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/1 "2024-05-22T23:45:08Z")

</div>

Hello all,

What is the API2 replacement for WebListBox.ColumnSelected?

Thanks,  
Tim

---

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [May 23, 2024, 3:24am UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/2 "2024-05-23T03:24:38Z")

</div>

> [@Tim\_Seyfarth](#):
>
> WebListBox.ColumnSelected

I can’t find information about ColumnSelected, when did you use it (Xojo version)?

---

<div class="post-metadata">

**Author:** ![Ricardo\_Cruz](https://forum.xojo.com/user_avatar/forum.xojo.com/ricardo_cruz/32/7852_2.png) [@Ricardo\_Cruz](https://forum.xojo.com/u/Ricardo_Cruz)\
**Post date:** [May 23, 2024, 7:01am UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/3 "2024-05-23T07:01:20Z")

</div>

[DesktopListBox](https://documentation.xojo.com/api/user_interface/desktop/desktoplistbox.html) has `HeaderPressed` and `ColumnSorted` events. Both are missing in [WebListBox](https://documentation.xojo.com/api/user_interface/web/weblistbox.html).

We plan to continue closing the feature gap between them, but if you open a Feature Request, it will help us prioritizing them.

---

<div class="post-metadata">

**Author:** ![Tim\_Seyfarth](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/d26b3c/32.png) [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Post date:** [May 23, 2024, 6:28pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/4 "2024-05-23T18:28:05Z")

</div>

This was originally from Web API 1. 2019 R1.1

If there is no equivalent, then so be it.

One problem that I have, and I am sure others do too, is when migrating from API1 to API2, there is no list of methods. functions etc that do or do not have an equivalent.

Tim

---

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [May 23, 2024, 6:41pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/5 "2024-05-23T18:41:21Z")

</div>

> [@Tim\_Seyfarth](#):
>
> This was originally from Web API 1. 2019 R1.1

Thanks, we are still using Xojo 2019r1.1 for older projects, I don’t remember seeing .ColumnSelected and I can’t find that on the local documentation. This is what the local docs show:  
 ![image](https://forum.xojo.com/uploads/default/original/3X/c/b/cb5fadb72ff0ed5f407a0093d65f742428f1a24a.png)

the forum only shows this thread as a result of searching ‘weblistbox columnselected’, but this is off-topic, sorry for the noise. I was just wondering.

---

<div class="post-metadata">

**Author:** ![Tim\_Parnell](https://forum.xojo.com/user_avatar/forum.xojo.com/tim_parnell/32/161_2.png) [@Tim\_Parnell](https://forum.xojo.com/u/Tim_Parnell)\
**Post date:** [May 23, 2024, 6:49pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/6 "2024-05-23T18:49:34Z")

</div>

Tim if you are perhaps looking at a sublcass of WebListbox there may be techniques that can be borrowed to carry the feature over to Web 2.

---

<div class="post-metadata">

**Author:** ![Tim\_Seyfarth](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/d26b3c/32.png) [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Post date:** [May 23, 2024, 7:06pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/7 "2024-05-23T19:06:32Z")

</div>

Hello all,

I do apologize. The correct function is ColSelected.

Tim

---

<div class="post-metadata">

**Author:** ![AlbertoD](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/dbc845/32.png) [@AlbertoD](https://forum.xojo.com/u/AlbertoD)\
**Post date:** [May 23, 2024, 7:14pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/8 "2024-05-23T19:14:41Z")

</div>

> [@Tim\_Seyfarth](#):
>
> The correct function is ColSelected

Are you sure this is a Xojo function and not one created as a subclass of WebListbox?  
(I can’t find anything searching for ‘ColSelected’)

---

<div class="post-metadata">

**Author:** ![Tim\_Seyfarth](https://forum.xojo.com/letter_avatar_proxy/v4/letter/t/d26b3c/32.png) [@Tim\_Seyfarth](https://forum.xojo.com/u/Tim_Seyfarth)\
**Post date:** [May 23, 2024, 7:22pm UTC](https://forum.xojo.com/t/weblistbox-columnselected/80411/9 "2024-05-23T19:22:29Z")

</div>

Hi AlbertoD

Boy am I off this week!!

I just looked again at the old code having not used it in a very long time. In fact, you are correct. For some reason the object was subclassed and the property is from that subclassing.

Again, apologies to everyone for the error and apparent waste of time.

Tim
