Recent

Author Topic: canvas and PasLibVlc  (Read 1759 times)

Vaytl

  • Newbie
  • Posts: 4
canvas and PasLibVlc
« on: July 04, 2021, 10:43:43 pm »
Hello All.
I am trying to make the volume display of PasLibVlcPlayer.
Code: Pascal  [Select][+][-]
  1. procedure TForm1.volume(Sender: TObject);
  2. begin
  3.   Canvas.Brush.Color:=RGBToColor(0,166,81);
  4.   Canvas.Font.Color:=RGBToColor(255,255,255);
  5.   Canvas.TextOut(80,60,'Volume 50%');
  6. end;
But I cannot display the canvas on top of the player.
Please tell me what am I doing wrong?
« Last Edit: July 04, 2021, 10:51:14 pm by Vaytl »

 

TinyPortal © 2005-2018