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"> </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"> </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"> </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"> </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
Partager