Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Tooltips with Unicode Text
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tooltips with Unicode Text

 Post Reply Post Reply
Author
Message
ScottW View Drop Down
Groupie
Groupie


Joined: 02 August 2005
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote ScottW Quote  Post ReplyReply Direct Link To This Post Topic: Tooltips with Unicode Text
    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




Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.