"=?Utf-8?B?dmluYXk=?=" <vi***@discussi ons.microsoft.c om> wrote in
news:09******** *************** ***********@mic rosoft.com:
I tested ur code and i can see the tooltip !!
Ok ... try this and the tooltip will not work
I think it is because the image is ''UNDER'' the Table
____
Dim Img As New System.Web.UI.W ebControls.Imag e
Img.ID = "Image1"
Img.ToolTip = "Trou"
Img.ImageUrl = "http://localhost/images/0.bmp"
Img.Style.Add(" left", "50%")
Img.Style.Add(" top", "50%")
Img.Style.Add(" position", "absolute")
Page.Controls.A dd(Img)
Dim TotalJeux As Integer = 5
Dim RollPerJeu As Integer = 5
Dim j As Integer
For j = 0 To TotalJeux - 1
Dim Jeu As New TableRow
Jeu.Width = Unit.Percentage (100)
Trim.Rows.Add(J eu)
Dim i As Integer
For i = 0 To RollPerJeu - 1
Dim Rouleau As New TableCell
Rouleau.Text = "Rouleau" & i.ToString
Rouleau.BorderC olor = Color.Black
Rouleau.BorderS tyle = BorderStyle.Sol id
Rouleau.BorderW idth = Unit.Pixel(1)
Select Case i
Case 0
Rouleau.Width = Unit.Percentage (20)
Case 1
Rouleau.Width = Unit.Percentage (30)
Case 2
Rouleau.Width = Unit.Percentage (20)
Case 3
Rouleau.Width = Unit.Percentage (10)
Case 4
Rouleau.Width = Unit.Percentage (20)
End Select
Jeu.Cells.Add(R ouleau)
Next i
Next j
End Sub