Print Page | Close Window

Tooltips with Unicode Text

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=23143
Printed Date: 27 April 2024 at 1:28pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tooltips with Unicode Text
Posted By: ScottW
Subject: Tooltips with Unicode Text
Date Posted: 26 September 2016 at 9:13am
I'm not seeing Unicode text shown properly in tooltips with ActiveX 17.2.



Maybe I'm doing something wrong here. It actually seems to ignore any changes to the ToolTipContext properties. Here I just placed a few controls on a form and set the properties the same for each one. The captions all show Unicode, but the tooltips don't. Do I need to enable that some other way?


    Dim f As StdFont
    Dim ctl As Object
   
    Set f = New StdFont
   
    f.Name = "Segoe UI"
    f.Size = 9
   
On Error Resume Next

    For Each ctl In Me.Controls
        Set ctl.Font = f
        Set ctl.ToolTipContext.Font = f
        ctl.Text = ChrW$(&H6667) & "-Text"
        ctl.Caption = ChrW$(&H6667) & "-Caption"
        ctl.ToolTipText = ChrW$(&H6667) & "-Tooltip"
    Next







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