
Originally Posted by
taishan
Is there a way to substitute the tab icon (which is the form icon) with Segoe MDL2 assets font in a TDI?
You can do it in the TDIFormsShowTabIcon event:
Code:
Private Sub NewTab1_TDIFormsShowTabIcon(ByVal TabNumber As Long, ByVal FormCaption As String, ByVal FormhWnd As Long, IconPicture As Object, IconLeftOffset As Long, IconTopOffset As Long, IconWidth As Long, IconHeight As Long, UseIconFont As Boolean, IconFont As Object, IconChar As Variant, IconColor As Long, IconColorHovered As Long, IconColorSelected As Long, NoIcon As Boolean)
UseIconFont = True
IconChar = ChrW(&H2665)
End Sub
But I see that there is an issue with the character position. I'll see to fix that and issue an update.