Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how to change font for tooltip control ?

how to change font for tooltip control ?

Scheduled Pinned Locked Moved C#
tutorialquestion
13 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xingselex
    wrote on last edited by
    #1

    hello, can anybody tell me how to change font of tooltip control ? because my project display in other langauge. it is not English ...

    D L M 3 Replies Last reply
    0
    • X xingselex

      hello, can anybody tell me how to change font of tooltip control ? because my project display in other langauge. it is not English ...

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      You will need to have the tooltip text either in the resource files or database(whatever you are using) and set it from there. May be this will help you:

      SetToolTip(controlName,textfromResourceFile)

      जय हिंद

      X 1 Reply Last reply
      0
      • D dan sh

        You will need to have the tooltip text either in the resource files or database(whatever you are using) and set it from there. May be this will help you:

        SetToolTip(controlName,textfromResourceFile)

        जय हिंद

        X Offline
        X Offline
        xingselex
        wrote on last edited by
        #3

        i have retriev that text from my database. but it still cannot show. just show​​ ាសថសដថាសដថាសដ something like this. so how can i do next ?

        D 1 Reply Last reply
        0
        • X xingselex

          i have retriev that text from my database. but it still cannot show. just show​​ ាសថសដថាសដថាសដ something like this. so how can i do next ?

          D Offline
          D Offline
          dan sh
          wrote on last edited by
          #4

          I don't seem to understand your problem. Can you re-phrase?

          जय हिंद

          X 1 Reply Last reply
          0
          • X xingselex

            hello, can anybody tell me how to change font of tooltip control ? because my project display in other langauge. it is not English ...

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            Hi, AFAIK you can't choose the font size, style or family. However you can draw everything yourself any way you like, see this example.[^] [ADDED] Balloon Tips Galore![^] might interest you too. [/ADDED] :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


            1 Reply Last reply
            0
            • D dan sh

              I don't seem to understand your problem. Can you re-phrase?

              जय हिंद

              X Offline
              X Offline
              xingselex
              wrote on last edited by
              #6

              ok. i have a tooltip control. and i want to change it font to other language. and i don found this tooltip's font property. it alway show as "ាសដថាសដ" when mouse on. and i also follow ur step that get text from Database. but i still cannót show in other language else from English after i get into tooltip control. so do u kno how to do with it ?

              D 1 Reply Last reply
              0
              • X xingselex

                ok. i have a tooltip control. and i want to change it font to other language. and i don found this tooltip's font property. it alway show as "ាសដថាសដ" when mouse on. and i also follow ur step that get text from Database. but i still cannót show in other language else from English after i get into tooltip control. so do u kno how to do with it ?

                D Offline
                D Offline
                dan sh
                wrote on last edited by
                #7

                Whats the problem with "ាសដថាសដ"? It does not looks English to me.

                जय हिंद

                X 1 Reply Last reply
                0
                • D dan sh

                  Whats the problem with "ាសដថាសដ"? It does not looks English to me.

                  जय हिंद

                  X Offline
                  X Offline
                  xingselex
                  wrote on last edited by
                  #8

                  ាកសដកថ​is kind of other langauge that i want to show in tooltip control. it isnot a English langauge. understand ? it is just a data that i retrieved from database as a step that u have told me.

                  D 1 Reply Last reply
                  0
                  • X xingselex

                    ាកសដកថ​is kind of other langauge that i want to show in tooltip control. it isnot a English langauge. understand ? it is just a data that i retrieved from database as a step that u have told me.

                    D Offline
                    D Offline
                    dan sh
                    wrote on last edited by
                    #9

                    If you have retrieved this text from database, just set this as the text for the tooltip. If it does not shows up correct, I think you need to look into encoding. By the way, which language is this?

                    जय हिंद

                    X 1 Reply Last reply
                    0
                    • D dan sh

                      If you have retrieved this text from database, just set this as the text for the tooltip. If it does not shows up correct, I think you need to look into encoding. By the way, which language is this?

                      जय हिंद

                      X Offline
                      X Offline
                      xingselex
                      wrote on last edited by
                      #10

                      it is cambodain langauge. call "khmer unicode" . where of encoding should i look for ?

                      D 1 Reply Last reply
                      0
                      • X xingselex

                        it is cambodain langauge. call "khmer unicode" . where of encoding should i look for ?

                        D Offline
                        D Offline
                        dan sh
                        wrote on last edited by
                        #11

                        May be this[^] link can help you. Not sure though.

                        जय हिंद

                        X 1 Reply Last reply
                        0
                        • D dan sh

                          May be this[^] link can help you. Not sure though.

                          जय हिंद

                          X Offline
                          X Offline
                          xingselex
                          wrote on last edited by
                          #12

                          ok let me tell u again. that langauge can be shown in textbox. because i set that textbox font property. and Tooltip doesn't have font property. so it cannot be display this type of text. so do u know how to set a font property to tooltip control ?

                          1 Reply Last reply
                          0
                          • X xingselex

                            hello, can anybody tell me how to change font of tooltip control ? because my project display in other langauge. it is not English ...

                            M Offline
                            M Offline
                            Mycroft Holmes
                            wrote on last edited by
                            #13

                            Just a thought, can you assign the tooltip text to a textbox and is it readable. I suspect your database may not support unicode.

                            Never underestimate the power of human stupidity RAH

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups