HI,
i have a Text Field and a checkbox filed, in a page and i want to disable Text field when user ticked the Check box and vice versa.
what is the easiest way to address above requirement in AL ?
Thanks,
Nishan
HI,
i have a Text Field and a checkbox filed, in a page and i want to disable Text field when user ticked the Check box and vice versa.
what is the easiest way to address above requirement in AL ?
Thanks,
Nishan
You could create a boolean variable and change it's value on onvalidate trigger of the checkbox and assign that boolean to the editable property of the textbox you want to enable or disable accordingly.
This is a common method used in the standard app: docs.microsoft.com/.../devenv-visible-property
André Arnaud de Cal... 291,735 Super User 2024 Season 2
Martin Dráb 230,466 Most Valuable Professional
nmaenpaa 101,156