2 Replies Latest reply on Jul 17, 2018 10:20 AM by Ivana Kolin

    How can I change the style of a checkbox after its creation? (Enable/disable)

    Egzone Xhafa

      I have a checkbox added to a control group (property manager page), depending on a certain action I would like to change its style

       

         optionsDisable = swAddControlOptions_e.swControlOptions_Visible

         checkBox = group.AddControl(checkBoxID, swPropertyManagerPageControlType_e.swControlType_Checkbox, "Text", leftAlign, optionsDisable, "Text")

       

      How can I change the style to say

      options = swAddControlOptions_e.swControlOptions_Enabled + swAddControlOptions_e.swControlOptions_Visible

      afterwards?