AnsweredAssumed Answered

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

Question asked by Egzone Xhafa on Jul 17, 2018
Latest reply on Jul 17, 2018 by Ivana Kolin

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