2004-04-29, 04:42 PM
Hey All,
not sure if this has been covered before. What I want to do is to be able to create image buttons on the fly within a plugin. Ie. I don't know the text to be in the image buttons until run-time.
I'm not familiar with the .NET environment, but the only thing I can think of is to have a generic image button with no label. Then when its rendered on screen, simply do a DrawString of the text over the button, creating the effect of an already created button.
If this is a half-assed way of doing things and there is a simple and easy method of doing this, please point it out to me![Smile Smile](https://forums.nextpvr.com/images/smilies/smile.png)
Cheers,
Colin.
not sure if this has been covered before. What I want to do is to be able to create image buttons on the fly within a plugin. Ie. I don't know the text to be in the image buttons until run-time.
I'm not familiar with the .NET environment, but the only thing I can think of is to have a generic image button with no label. Then when its rendered on screen, simply do a DrawString of the text over the button, creating the effect of an already created button.
If this is a half-assed way of doing things and there is a simple and easy method of doing this, please point it out to me
![Smile Smile](https://forums.nextpvr.com/images/smilies/smile.png)
Cheers,
Colin.