Questions Tagged With rdwidgetshttps://answers.axonivy.com/tags/rdwidgets/?type=rss&user=Eva%20Wackerquestions tagged <span class="tag">rdwidgets</span>enThu, 02 Feb 2012 06:13:28 -0500how to set the mandatory property dynamically?https://answers.axonivy.com/questions/443/how-to-set-the-mandatory-property-dynamically<p>I need to set the <code>mandatory</code> property of some widgets at the run-time depending on some run time criteria and without having a typed reference to the widget. How can I do this?</p> <p>I can do this for example for the <code>visible</code> property. I can loop through all components of a display or other panel or container by <code>panel.myContainer.getComponents()</code>, select which components I am interested in and then call <code>setVisible(Boolean)</code> on them.</p> <p>I cannot call <code>setMandatory(Boolean)</code> on this level but I would need to. </p>Eva WackerThu, 02 Feb 2012 06:13:28 -0500https://answers.axonivy.com/questions/443/how-to-set-the-mandatory-property-dynamicallyrichdialogrdwidgets