# Listbox styling?

**URL:** <https://forum.kirupa.com/t/listbox-styling/111413>\
**Category:** Uncategorized\
**Created:** [May 26, 2004, 6:57pm UTC](https://forum.kirupa.com/t/listbox-styling/111413 "2004-05-26T18:57:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sWo0p](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@sWo0p](https://forum.kirupa.com/u/sWo0p)\
**Post date:** [May 26, 2004, 6:57pm UTC](https://forum.kirupa.com/t/listbox-styling/111413/1 "2004-05-26T18:57:19Z")

</div>

i see a lot of site that have a orety kewl listbox… how the hell did they do that?.. cos i tryed to style the Flash stanaard listbox but somehow the scrollbar and backgound of the listbox stays and is’nt changed? :trout:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 26, 2004, 7:08pm UTC](https://forum.kirupa.com/t/listbox-styling/111413/2 "2004-05-26T19:08:00Z")

</div>

Make sure your listbox has an instance name, for example ‘myListBox’:

```auto

myListBox.setEnabled(true);
myListBox.setStyleProperty("arrow", 0x70AD52);
myListBox.setStyleProperty("face", 0xE9F2E6);
myListBox.setStyleProperty("scrollTrack", 0xD6E7CD);
myListBox.setStyleProperty("shadow", 0x8FC17D);
myListBox.setStyleProperty("darkshadow", 0x012258);
myListBox.setStyleProperty("highlight3D", 0x8FC17D);

```

for more properties hit Shift+F1 \>\> Flash UI Components \>\> FStyleFormat \>\> Properties

:hr:
