Derma Menu - Push in the right direction.

I really want to create a derma menu that updates itself on think.
I have the menu embedded into an entity, which I want to retrieve Networked Ints from it.
How would I go about this, all are welcome.
Thanks.

If you want to do some custom drawing frame by frame I think you should look at Panel:Paint.

Not exactly what I meant. I want to be able to change values on the panel and them to update straight away.
Like change a text label.

Oh, so kinda like refresh the Derma Panel?

I tried to do this a while ago and gave up, I think you can use Panel:InvalidateLayout though.

Can’t remember if it works as expected.

I’ll try that now, thanks.

[editline]7th June 2013[/editline]

Is that meant to also refresh the labels on the panel? Because it didn’t for me.

I’m afraid I can’t help, maybe someone else might be able to.

Still looking for solution.

Instead of creating dlabels on the panel, you could always just Draw text in the paint function.

Might not be the best way to do it, but it will work.

That fixed it for me, it is working and it works well.