Bonjour à toutes et à tous,

Avec mon code, j'affiche le nom de la caméra si l'image est absente, le carré blanc affiche le nom inscrit dans le "PVignette 1 à 4".

J'aurai aimé lorsque l'image de ma caméra est affichée avoir aussi son nom dans une bulle au survol de cette image et je cale sèchement malgré les exemples.

Code delphi : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 if alarme then
      begin
        t1:=60;
	      u:=u+'<p align="center"><font face="Arial Narrow" size="6" color="#FF0000">ALERTE INTRUSION !</font>'#10#13+
	      '</p>'#10#13;
      end else t1:=0;
      u:=u+'<p align="center">&nbsp;</p><img'#10#13+
	    'style="Z-INDEX: 101; LEFT: 40px; WIDTH: 259px; POSITION: absolute; TOP: '+inttostr(100+t1)+'px; HEIGHT: 211px"'#10#13+
      'height="35" alt= "'+pchar(PVignette1.hint)+'" src="Image1" width="27" border="4">'#10#13;
      if NbCamera>1 then
      begin
	      u:=u+'<p align="center">&nbsp;</p><img'#10#13+
	      'style="Z-INDEX: 101; LEFT: 319px; WIDTH: 259px; POSITION: absolute; TOP: '+inttostr(100+t1)+'px; HEIGHT: 211px"'#10#13+
	      'height="35" alt="'+pchar(PVignette2.hint)+'" src="Image2" width="27" border="4">'#10#13;
      end;
      if NbCamera>2 then
      begin
        if NbCamera=4 then u1:= 40 else u1:= 180;
	      u:=u+'<p align="center">&nbsp;</p><img'#10#13+
	      'style="Z-INDEX: 101; LEFT: '+inttostr(u1)+'; WIDTH: 259px; POSITION: absolute; TOP: '+inttostr(330+t1)+'px; HEIGHT: 211px"'#10#13+
	      'height="35" alt="'+pchar(PVignette3.hint)+'" src="Image3" width="27" border="4">'#10#13;
      end;
      if NbCamera=4 then
      begin
	    u:=u+'<p align="center">&nbsp;</p><img'#10#13+
	      'style="Z-INDEX: 101; LEFT: 319px; WIDTH: 259px; POSITION: absolute; TOP: 260px; HEIGHT: '+inttostr(330+t1)+'px"'#10#13+
	      'height="35" alt="'+pchar(PVignette4.hint)+'" src="Image4" width="27" border="4">'#10#13;
      end;
      u:=u+'</body>

Les Noms se trouvent dans les PVignette 1 à 4, si quelqu'un avait une idée, merci d'avance.

@+,

Cincap