lable or canvas.textout? lazarus / 39-Graphics ---------------------------------------------------------------------- ali-libre · 2016-10-18 03:16 thers is some info on the form that will change repeativly.. i test it with canvas.textout and got me about 6ms to draw all of theme.. what will you prefer to got beter performance..? just using lable or using direct canvas or are they have same cpu usage..? ---------------------------------------------------------------------- circular · 2016-10-18 17:37 I am not sure but I would say that a label is probably the same speed. The main drawback is that if you have many different labels, that can be a bit long to create with the designer whereas with the canvas, you can do a for loop to write as many texts as you want. ---------------------------------------------------------------------- Remy Lebeau · 2016-10-20 03:29 Quote from: circular on October 18, 2016, 07:37:28 pmThe main drawback is that if you have many different labels, that can be a bit long to create with the designer whereas with the canvas, you can do a for loop to write as many texts as you want. At run-time, you could put the Labels into an array/list and then loop through that when needed. ---------------------------------------------------------------------- circular · 2016-10-20 10:27 True. In some cases that would be the correct way to do it. But if you can avoid it, it is simpler to do some TextOut rather than having Label variables, creating them and releasing them. ---------------------------------------------------------------------- RAW · 2016-10-20 12:50 Quote...it is simpler to do some TextOut rather than having Label variables, creating them and releasing them. I guess that's right, but then you have to do your own "DOUBLEBUFFERED-Thing" if needed... ? A TLabel is just easy to handle... and needs therefore probably more resources.