I have learned how to dynamically create linklabels at runtime, but how do I make a mouseover and mouseleave effect on them? This is the code so far:
For i = 0 to 4
LL as As New LinkLabel
"LOT OF CODE..."
AddHandler LL.Linkclicked, AddressOf LinkLabelClicked
AddHandler LL.MouseHover, AddresOf LinkLabelMouseOver
AddHandler LL.MouseLeave, AddresOf LinkLabelMouseLeave
Next
How should the code look like when "LinkLabelMouseOver" and "LinkLabelMouseLeave" are called.
For i = 0 to 4
LL as As New LinkLabel
"LOT OF CODE..."
AddHandler LL.Linkclicked, AddressOf LinkLabelClicked
AddHandler LL.MouseHover, AddresOf LinkLabelMouseOver
AddHandler LL.MouseLeave, AddresOf LinkLabelMouseLeave
Next
How should the code look like when "LinkLabelMouseOver" and "LinkLabelMouseLeave" are called.