Im wanting to put text (the %) on a progress bar, tried a lable but they dnt have proper transparency, then tried drawing the text by using the creatgraphics method of the progress bar, then the drawtext method,
this works except the text is always there, i write say 5% then the next time i write 10% but the 5% is still behind it, i tried clearing it with clear method but this also clears the whole progressbar, how can i just clear the text drawn last time?
Question
spike232
Im wanting to put text (the %) on a progress bar, tried a lable but they dnt have proper transparency, then tried drawing the text by using the creatgraphics method of the progress bar, then the drawtext method,
this works except the text is always there, i write say 5% then the next time i write 10% but the 5% is still behind it, i tried clearing it with clear method but this also clears the whole progressbar, how can i just clear the text drawn last time?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts