change the bold int

Home Forums General Programming change the bold int

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #25787
    zeoka
    Participant
      • Topics: 73
      • Replies: 466
      • Total: 539
      • ★★★

      Hi
      xxx:setProperty(“componentLabelFont”,”“,14,1,0,0,0,1,false)
      I need indentifier const& var const&
      what is VAR ? this is a thing I don’t understand
      I saw this in lua tuto and virus panel. same thing ?

      #25970
      zeoka
      Participant
        • Topics: 73
        • Replies: 466
        • Total: 539
        • ★★★

        setBold(bool) should work but I need to get the componentChild or the visibleName object (same thing ?)

        Any explanation or method to get subcomponents ?

        #25972
        dasfaker
        Keymaster
          • Topics: 80
          • Replies: 793
          • Total: 873
          • ★★★

          To get a modulator
          xx=panel:getModulatorByName("modulator1")

          To get the component of this modulator
          zz=xx:getComponent()

          To change the font property of this component (in this case a uiLabel) zz:setPropertyString("uiLabelFont", "fontName; Height; Bold; Italic; Underline; Extra Kerning; Horizontal Scale")

          • This reply was modified 9 years, 9 months ago by dasfaker.
          #25978
          zeoka
          Participant
            • Topics: 73
            • Replies: 466
            • Total: 539
            • ★★★

            Oh
            I have tried ; but not put all in “” I used like values
            Thank you !

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The forum ‘Programming’ is closed to new topics and replies.
          There is currently 0 users and 73 guests online
          No users are currently active
          Forum Statistics
          Threads: 2,495, Posts: 17,374, Members: 77,605
          Most users ever online was 12 on January 22, 2019 3:47 pm
          Ctrlr