Print Page | Close Window

Tab Control Unicode

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4353
Printed Date: 17 November 2024 at 7:34am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tab Control Unicode
Posted By: ScottW
Subject: Tab Control Unicode
Date Posted: 05 June 2006 at 4:43pm
When using the Unicode version of the 10.1 Suite Controls, shouldn't the following be showing Unicode characters in the tab captions?

Private Sub Form_Load()
    Dim f As New StdFont
    f.Name = "Arial Unicode MS"
    f.Size = 10
   
    With TabControl1
        Set .PaintManager.Font = f
        .InsertItem 0, "Test " & ChrW$(&H6B21), 0, 0
        .InsertItem 1, "Test " & ChrW$(&H6B22), 0, 0
        .InsertItem 2, "Test " & ChrW$(&H6B23), 0, 0
        .PaintManager.Appearance = xtpTabAppearancePropertyPage
        .PaintManager.DisableLunaColors = True
        .PaintManager.Color = xtpTabColorWinXP
        .PaintManager.Layout = xtpTabLayoutAutoSize
        .PaintManager.HotTracking = True
        .DrawFocusRect = False
    End With
End Sub

I'm seeing question marks instead. Am I missing something?






Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net