DirectScrolledList, hide the buttons but keep the text up.

How would one go about hiding the up and down text buttons but still keep the text up? I check to see if there was a setting that would let me change the text afterwards to “”, but I didnt see a “.set” anything really.

Hi adr,

I’m not sure I understand your question fully, but it sounds to me like you’re trying to hide the up & down buttons, but keep the items in the DirectScrolledList visibile.

If this is the case, after creating the DirectScrolledList, you should be able to hide the incButton & decButton elements. For example:

self.ChatList = DirectScrolledList(... stuff ...)
self.ChatList.incButton.hide()
self.ChatList.decButton.hide()

The last two lines in the code above will hide the incButton & decButton elements.

I hope this helps.

If I’ve misunderstood, perhaps post some code and try to give us a better idea of what you’re trying to achieve…

-Mike :smiley: