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 hide "Script" combobox in FontDialog Box

How to hide "Script" combobox in FontDialog Box

Scheduled Pinned Locked Moved C#
csharptoolstutorialquestion
7 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.
  • K Offline
    K Offline
    Krishnraj
    wrote on last edited by
    #1

    Hi all, i make an application in which i use .Net Fontdialog box, but i want to customize it and want to hide the "Script" combobox from FontDialog Box. So i have a confusion from where i have to start ? :( Any suggesion is welcome..

    Rana Krishnraj

    D K A 3 Replies Last reply
    0
    • K Krishnraj

      Hi all, i make an application in which i use .Net Fontdialog box, but i want to customize it and want to hide the "Script" combobox from FontDialog Box. So i have a confusion from where i have to start ? :( Any suggesion is welcome..

      Rana Krishnraj

      D Offline
      D Offline
      DaveyM69
      wrote on last edited by
      #2

      I don't know if it can be hidden - but the AllowScriptChange property will not allow it to be changed if set to false.

      Dave

      K 1 Reply Last reply
      0
      • K Krishnraj

        Hi all, i make an application in which i use .Net Fontdialog box, but i want to customize it and want to hide the "Script" combobox from FontDialog Box. So i have a confusion from where i have to start ? :( Any suggesion is welcome..

        Rana Krishnraj

        K Offline
        K Offline
        Kjetil Svendsen
        wrote on last edited by
        #3

        FontDialog.AllowScriptChange = false; Kjetil

        K 1 Reply Last reply
        0
        • K Kjetil Svendsen

          FontDialog.AllowScriptChange = false; Kjetil

          K Offline
          K Offline
          Krishnraj
          wrote on last edited by
          #4

          Hi Kjetil Svendsen, Thanks for replying ... FontDialog.AllowScriptChange = false; - Its not work. Have u read my question ? i want to hide(or say not visible to client) script combobox. i also want to hide "StrikeOut" and "Underline" checkbox

          Rana Krishnraj

          1 Reply Last reply
          0
          • K Krishnraj

            Hi all, i make an application in which i use .Net Fontdialog box, but i want to customize it and want to hide the "Script" combobox from FontDialog Box. So i have a confusion from where i have to start ? :( Any suggesion is welcome..

            Rana Krishnraj

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            I dont think it is possible to hide. its default windows Font dialog. For that you have create your own custom Control Thanks

            Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"

            1 Reply Last reply
            0
            • D DaveyM69

              I don't know if it can be hidden - but the AllowScriptChange property will not allow it to be changed if set to false.

              Dave

              K Offline
              K Offline
              Krishnraj
              wrote on last edited by
              #6

              Hi Kjetil Svendsen, Thanks for replying ... But do u have any idea abt how to add label control in fontdialog box to displaying selected font name.

              Rana Krishnraj

              A 1 Reply Last reply
              0
              • K Krishnraj

                Hi Kjetil Svendsen, Thanks for replying ... But do u have any idea abt how to add label control in fontdialog box to displaying selected font name.

                Rana Krishnraj

                A Offline
                A Offline
                Abhijit Jana
                wrote on last edited by
                #7

                Krishnraj wrote:

                add label control in fontdialog box to displaying selected font name.

                Its not possible. you have create own control for that.

                Best Regards ----------------- Abhijit Jana Check Out My Latest Article Java.NET : Integration of Java and .NET[^] "Success is Journey it's not a destination"

                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