# New Repository - Windows Styled Listbox Marking for Clarion listboxes

**URL:** <https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889>\
**Category:** code\
**Tags:** class, listbox\
**Created:** [October 7, 2019, 10:42pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889 "2019-10-07T22:42:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [October 7, 2019, 10:42pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/1 "2019-10-07T22:42:56Z")

</div>

Uploaded an example & Class.

This basically makes use of the existing MARK attribute of a listbox,  
but adds more functionality.

Caveat: If you have more than 65536 records in your queue, then the  
marked records don't display correctly if you programmatically update  
the value of the MARK field.

Other than that, it's kind of nice to not have to color every field in  
the listbox just to achieve marking. Clarion takes care of it with the  
Mark attribute.

I have not tested this on a file-loaded browse. Would be nice if it  
worked, but I don't know if it does.

> **[GitHub - jslarve/ListMarkClass: Windows Styled Listbox Marking for Clarion...](https://github.com/jslarve/ListMarkClass)**
>
> Windows Styled Listbox Marking for Clarion Listboxes

---

<div class="post-metadata">

**Author:** ![totalhip](https://clarionhub.com/user_avatar/clarionhub.com/totalhip/32/1477_2.png) [@totalhip](https://clarionhub.com/u/totalhip)\
**Post date:** [October 8, 2019, 3:30pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/2 "2019-10-08T15:30:20Z")

</div>

Jeff,

Perhaps a bit confusing, but I assume by “standard listboxes” you refer to a queue loaded listbox that does NOT use the ABC Browse Class (w/ FileLoaded=True).

### _Also, this class is not suitable for a page loaded browse. It is only for standard listboxes. At the time of this writing, I don’t know if it will work with a File Loaded Browse._

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [October 8, 2019, 3:44pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/3 "2019-10-08T15:44:16Z")

</div>

Hi Douglas - I will try to clear that wording up. I have only tested this with handcoded listboxes. I have not tested this with a file loaded template generated browse. It definitely is not suitable for a page loaded browse.

Thank you.

---

<div class="post-metadata">

**Author:** ![ms100](https://clarionhub.com/user_avatar/clarionhub.com/ms100/32/3489_2.png) [@ms100](https://clarionhub.com/u/ms100)\
**Post date:** [October 13, 2019, 3:17pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/4 "2019-10-13T15:17:33Z")

</div>

nice work;  
do you know how I can position at the end of a hand coded list box when open the window ??  
PressKey(CtrlPgDn) !Control-Page down  
doesn’t work.  
regards, marcelo

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [October 13, 2019, 3:33pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/5 "2019-10-13T15:33:46Z")

</div>

In the demo, look for `ListMarker.TakeHotKey(HomeKey)`. Change HomeKey to EndKey.

---

<div class="post-metadata">

**Author:** ![ms100](https://clarionhub.com/user_avatar/clarionhub.com/ms100/32/3489_2.png) [@ms100](https://clarionhub.com/u/ms100)\
**Post date:** [October 14, 2019, 2:44pm UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/6 "2019-10-14T14:44:31Z")

</div>

I had already tried “ListMarker.TakeHotKey(EndKey)”, but it doesn’t work;  
The procedure is a ABC window including a hand coded listbox, and a lot of alert keys and buttons.  
I will try to debug it and check which code interferes; perhaps it will be easier if I recode it as pure code (ie not using abc classes);  
thanks, marcelo

---

<div class="post-metadata">

**Author:** ![jslarve](https://clarionhub.com/letter_avatar_proxy/v4/letter/j/e480ec/32.png) [@jslarve](https://clarionhub.com/u/jslarve)\
**Post date:** [October 15, 2019, 4:23am UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/7 "2019-10-15T04:23:41Z")

</div>

Let me know how it goes or if there’s something I can do.

---

<div class="post-metadata">

**Author:** ![ms100](https://clarionhub.com/user_avatar/clarionhub.com/ms100/32/3489_2.png) [@ms100](https://clarionhub.com/u/ms100)\
**Post date:** [October 16, 2019, 12:52am UTC](https://clarionhub.com/t/new-repository-windows-styled-listbox-marking-for-clarion-listboxes/2889/8 "2019-10-16T00:52:40Z")

</div>

thanks for your offer;  
I have in my files something you wrote in 1998 about list-box-marking, and I assume you know quite a bit about the subject.  
regards, marcelo
